|
|
@ -144,6 +144,15 @@ outputs: |
|
|
|
environment: |
|
|
|
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS |
|
|
|
host_prep_tasks: |
|
|
|
- name: create fcontext entry for iscsi |
|
|
|
sefcontext: |
|
|
|
target: "{{ item.path }}(/.*)?" |
|
|
|
setype: "{{ item.setype }}" |
|
|
|
state: present |
|
|
|
with_items: |
|
|
|
- { 'path': /etc/iscsi, 'setype': container_file_t } |
|
|
|
- { 'path': /etc/target, 'setype': container_file_t } |
|
|
|
- { 'path': /var/lib/iscsi, 'setype': container_file_t } |
|
|
|
- name: create persistent directories |
|
|
|
file: |
|
|
|
path: "{{ item.path }}" |
|
|
|