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:
parent
396c4cad72
commit
cfbb7829f9
2 changed files with 16 additions and 0 deletions
|
@ -43,6 +43,16 @@
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/assets/*
|
- 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
|
- name: Create symlink from assets to iiab.ini
|
||||||
file: src=/etc/iiab/iiab.ini
|
file: src=/etc/iiab/iiab.ini
|
||||||
dest={{ doc_root }}/common/assets/iiab.ini
|
dest={{ doc_root }}/common/assets/iiab.ini
|
||||||
|
|
|
@ -161,3 +161,9 @@
|
||||||
template: src=020_apache_poweroff.j2
|
template: src=020_apache_poweroff.j2
|
||||||
dest=/etc/sudoers.d/020_apache_poweroff
|
dest=/etc/sudoers.d/020_apache_poweroff
|
||||||
mode=0755
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue