Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Changed selinux_packages for CentOS 8 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,5 @@ Pull requests are also very welcome. Please create a topic branch for your propo
[Sven Eeckeman](https://github.com/SvenEeckeman),
[Tiemo Kieft](https://github.com/blubber),
[Tobias Wolter](https://github.com/towo),
[Tomohiko Ozawa](https://github.com/kota65535).
[Tomohiko Ozawa](https://github.com/kota65535),
[Lasse Löfquist](https://github.com/tvartom).
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- name: Include OS specific variables
include_vars: "{{ item }}"
with_first_found:
- "os_{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml"
- "os_{{ ansible_distribution }}.yml"
- "os_{{ ansible_os_family }}.yml"
tags: samba
Expand Down
26 changes: 26 additions & 0 deletions vars/os_CentOS_8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# roles/samba/vars/os_CentOS_8.yml
---

samba_packages:
- samba-common
- samba
- samba-client

samba_vfs_packages: []

samba_selinux_packages:
- python3-libsemanage

samba_selinux_booleans:
- samba_enable_home_dirs
- samba_export_all_rw

samba_configuration_dir: /etc/samba
samba_configuration: "{{ samba_configuration_dir }}/smb.conf"
samba_username_map_file: "{{ samba_configuration_dir }}/smbusers"

samba_services:
- smb
- nmb

samba_www_documentroot: /var/www/html