1
0
Fork 0
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:
A Holt 2020-01-11 19:28:57 -05:00 committed by GitHub
parent 90e8e9e62d
commit f434b66938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}"