Add another virtualization platform exception

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen 2022-04-06 16:43:20 +02:00 committed by Jakub Jelen
parent 57357b0be7
commit 09f2c6a999
3 changed files with 6 additions and 0 deletions

View file

@ -6,8 +6,10 @@
state: reloaded
when:
- sshd_allow_reload|bool
- ansible_virtualization_type|default(None) != 'kvm'
- ansible_virtualization_type|default(None) != 'docker'
- ansible_virtualization_type|default(None) != 'podman'
- ansible_virtualization_type|default(None) != 'container'
- ansible_virtualization_type|default(None) != 'containerd'
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
- ansible_connection != 'chroot'

View file

@ -211,8 +211,10 @@
state: started
when:
- sshd_manage_service|bool
- ansible_virtualization_type|default(None) != 'kvm'
- ansible_virtualization_type|default(None) != 'docker'
- ansible_virtualization_type|default(None) != 'podman'
- ansible_virtualization_type|default(None) != 'container'
- ansible_virtualization_type|default(None) != 'containerd'
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
- ansible_connection != 'chroot'

View file

@ -32,8 +32,10 @@
changed_when: false
when:
- __sshd_test_backup is defined
- ansible_virtualization_type|default(None) != 'kvm'
- ansible_virtualization_type|default(None) != 'docker'
- ansible_virtualization_type|default(None) != 'podman'
- ansible_virtualization_type|default(None) != 'container' # new podman
- ansible_virtualization_type|default(None) != 'containerd'
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
- ansible_connection != 'chroot'