Skip to content

Commit

Permalink
#243 better comment SELinux changes by major version
Browse files Browse the repository at this point in the history
  • Loading branch information
don sizemore committed Aug 31, 2022
1 parent f696087 commit 8a81192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- policycoreutils
when: ansible_os_family == 'RedHat'

# Ansible seboolean works on Rocky 9, 8.6 handled below.
- name: set httpd_can_network_connect on and keep it persistent across reboots
seboolean:
name: httpd_can_network_connect
Expand All @@ -26,6 +27,7 @@
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == "8"

# Ansible seboolean works on Rocky 9, 8.6 handled below.
- name: allow apache to read user content by default
seboolean:
name: httpd_read_user_content
Expand Down

0 comments on commit 8a81192

Please sign in to comment.