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 }}"
state: yes
persistent: yes
with_items:
- samba_enable_home_dirs
- samba_export_all_rw
with_items: "{{ samba_selinux_booleans }}"
when: ansible_selinux
- name: Create Samba shares root directory

View File

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