mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
phpmyadmin was never migrated to nginx
This commit is contained in:
parent
7b132ce94f
commit
91783a13d2
6 changed files with 53 additions and 27 deletions
|
|
@ -1,9 +1,13 @@
|
|||
# - name: Enable phpMyAdmin via Apache, if phpmyadmin_enabled
|
||||
# command: a2ensite phpmyadmin.conf
|
||||
# when: phpmyadmin_enabled
|
||||
# #when: apache_installed is defined and phpmyadmin_enabled
|
||||
- name: Enable phpMyAdmin via nginx, if phpmyadmin_enabled
|
||||
template:
|
||||
src: phpmyadmin.conf.j2
|
||||
dest: "{{ nginx_conf_dir }}/phpmyadmin.conf"
|
||||
when: phpmyadmin_enabled
|
||||
#when: apache_installed is defined and phpmyadmin_enabled
|
||||
|
||||
# - name: Disable phpMyAdmin via Apache, if not phpmyadmin_enabled
|
||||
# command: a2dissite phpmyadmin.conf
|
||||
# when: not phpmyadmin_enabled
|
||||
# #when: apache_installed is defined and not phpmyadmin_enabled
|
||||
- name: Disable phpMyAdmin via nginx, if not phpmyadmin_enabled
|
||||
file:
|
||||
path: "{{ nginx_conf_dir }}/phpmyadmin.conf"
|
||||
state: absent
|
||||
when: not phpmyadmin_enabled
|
||||
#when: apache_installed is defined and not phpmyadmin_enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue