Skip to content

Commit

Permalink
The connection can have 2 names...
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Aug 30, 2021
1 parent c773914 commit d73991d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
- name: flush handlers
meta: flush_handlers

- name: debug
debug:
msg:
- "1: {{ ansible_selinux.status }}"
- "2: {{ ansible_connection }}"

- name: configure selinux
block:
- name: manage selinux
Expand All @@ -43,4 +37,4 @@
- selinux_booleans is defined
when:
- ansible_selinux.status is defined
- ansible_connection != "docker"
- ansible_connection not in [ "docker", "community.docker.docker" ]

0 comments on commit d73991d

Please sign in to comment.