mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Clean wordpress/tasks/enable.yml
This commit is contained in:
parent
90e8e9e62d
commit
f434b66938
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- name: Restart Apache systemd service ({{ apache_service }})
|
- name: Restart Apache systemd service ({{ apache_service }})
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
|
||||||
state: restarted
|
state: restarted
|
||||||
when: apache_enabled | bool
|
when: apache_enabled | bool
|
||||||
|
|
||||||
|
@ -28,12 +28,13 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: nginx_install and not wordpress_enabled
|
when: nginx_install and not wordpress_enabled
|
||||||
|
|
||||||
- name: Restart nginx systemd service
|
- name: Restart 'nginx' systemd service
|
||||||
systemd:
|
systemd:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
when: nginx_enabled | bool
|
when: nginx_enabled | bool
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'wordpress' variable values to {{ iiab_ini_file }}
|
- name: Add 'wordpress' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
path: "{{ iiab_ini_file }}"
|
path: "{{ iiab_ini_file }}"
|
||||||
|
|
Loading…
Reference in a new issue