Skip to content

Commit

Permalink
How it was.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Nov 25, 2022
1 parent d9b101f commit 13a77ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@

- name: Configure selinux
block:
when:
- ansible_selinux.status is defined
- ansible_selinux.status == "enabled"
- name: Modify selinux settings
ansible.posix.seboolean:
name: "{{ item }}"
Expand All @@ -35,6 +32,9 @@
loop:
- "{{ httpd_port }}"
- "{{ httpd_ssl_port | default(omit) }}"
when:
- ansible_selinux.status is defined
- ansible_selinux.status == "enabled"

- name: Configure httpd
ansible.builtin.template:
Expand Down

0 comments on commit 13a77ff

Please sign in to comment.