Moved hard coded SELinux boolean names to vars/

This commit is contained in:
Bert Van Vreckem 2016-05-12 09:51:19 +02:00
parent 8b3cbb232a
commit 47ca9e1b14
2 changed files with 5 additions and 3 deletions

View File

@ -25,9 +25,7 @@
name: "{{ item }}" name: "{{ item }}"
state: yes state: yes
persistent: yes persistent: yes
with_items: with_items: "{{ samba_selinux_booleans }}"
- samba_enable_home_dirs
- samba_export_all_rw
when: ansible_selinux when: ansible_selinux
- name: Create Samba shares root directory - name: Create Samba shares root directory

View File

@ -9,5 +9,9 @@ samba_packages:
samba_selinux_packages: samba_selinux_packages:
- libselinux-python - libselinux-python
samba_selinux_booleans:
- samba_enable_home_dirs
- samba_export_all_rw
samba_service: smb samba_service: smb
winbind_service: nmb winbind_service: nmb