mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2138 from holta/shims
25 of 26 install.yml's + 10 others tasks/*.yml now write to /etc/iiab/iiab_state.yml
This commit is contained in:
commit
e552efde9e
37 changed files with 151 additions and 174 deletions
|
@ -34,3 +34,9 @@
|
|||
path: /var/log/uwsgi/app
|
||||
state: directory
|
||||
owner: "{{ apache_user }}"
|
||||
|
||||
- name: "Add 'nginx_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
regexp: '^nginx_installed'
|
||||
line: 'nginx_installed: True'
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
# include_tasks: only_nginx.yml
|
||||
# when: nginx_enabled | bool
|
||||
|
||||
- name: Stop and disable NGINX, when not nginx_enabled
|
||||
- name: Stop & Disable 'nginx' systemd service, when not nginx_enabled
|
||||
systemd:
|
||||
name: nginx
|
||||
state: stopped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue