debloat web apps+pma and var for ssl
This commit is contained in:
parent
dd939856e3
commit
e731e8a865
@ -2,6 +2,7 @@
|
||||
become: true
|
||||
vars:
|
||||
domain: zz777.ru
|
||||
ssl: false
|
||||
roles:
|
||||
- nginx
|
||||
- php
|
||||
|
@ -6,4 +6,5 @@
|
||||
|
||||
- include_tasks: configure.yml
|
||||
|
||||
- include_tasks: certbot.yml
|
||||
- include_tasks: certbot.yml
|
||||
when: ssl
|
@ -4,15 +4,4 @@
|
||||
name: unzip
|
||||
state: latest
|
||||
|
||||
- name: Download and unpack phpmyadmin
|
||||
ansible.builtin.unarchive:
|
||||
src: https://files.phpmyadmin.net/phpMyAdmin/5.1.0/phpMyAdmin-5.1.0-all-languages.zip
|
||||
dest: /var/www/pma
|
||||
remote_src: yes
|
||||
owner: www-data
|
||||
|
||||
- name: move pma to pma dir
|
||||
copy:
|
||||
src: /var/www/pma/phpMyAdmin-5.1.0-all-languages/
|
||||
dest: /var/www/pma/
|
||||
remote_src: True
|
||||
- include_tasks: pma.yml
|
14
1/roles/webapps/tasks/pma.yml
Normal file
14
1/roles/webapps/tasks/pma.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Download and unpack phpmyadmin
|
||||
ansible.builtin.unarchive:
|
||||
src: https://files.phpmyadmin.net/phpMyAdmin/5.1.0/phpMyAdmin-5.1.0-all-languages.zip
|
||||
dest: /var/www/pma
|
||||
remote_src: yes
|
||||
owner: www-data
|
||||
|
||||
- name: move pma to pma dir
|
||||
copy:
|
||||
src: /var/www/pma/phpMyAdmin-5.1.0-all-languages/
|
||||
dest: /var/www/pma/
|
||||
remote_src: True
|
Loading…
Reference in New Issue
Block a user