1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

make home for service and copy

This commit is contained in:
Tim Moody 2017-07-06 12:56:43 -04:00
parent 396c4cad72
commit cfbb7829f9
2 changed files with 16 additions and 0 deletions

View file

@ -43,6 +43,16 @@
with_fileglob:
- html/assets/*
# copy all services, even if not permissioned elsewhere
- name: Copy services files
copy: src={{ item }}
dest={{ doc_root }}/common/services
mode=0644
owner=root
group=root
with_fileglob:
- html/services/*
- name: Create symlink from assets to iiab.ini
file: src=/etc/iiab/iiab.ini
dest={{ doc_root }}/common/assets/iiab.ini

View file

@ -161,3 +161,9 @@
template: src=020_apache_poweroff.j2
dest=/etc/sudoers.d/020_apache_poweroff
mode=0755
when: allow_apache_sudo
- name: Remove apache_user permission for poweroff
file: dest=/etc/sudoers.d/020_apache_poweroff
state=absent
when: not allow_apache_sudo