You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
471 B
18 lines
471 B
---
|
|
|
|
- name: Deploy permission script
|
|
template: src=perms.sh.j2 dest={{ root_dir }}/perms.sh mode=755
|
|
|
|
- name: Set correct SELinux context
|
|
sefcontext:
|
|
target: "{{ root_dir }}(/.*)?"
|
|
setype: httpd_sys_content_t
|
|
state: present
|
|
when: ansible_selinux.status == 'enabled'
|
|
|
|
- name: Set optimal permissions
|
|
command: "{{ root_dir }}/perms.sh"
|
|
changed_when: False
|
|
|
|
- name: Write version
|
|
copy: content={{ version }} dest={{ root_dir }}/meta/ansible_version
|
|
|