1
0
Fork 0
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:
A Holt 2020-01-12 18:28:53 -05:00 committed by GitHub
commit e552efde9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 151 additions and 174 deletions

View file

@ -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'

View file

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