mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-10 17:20:18 +01:00
Add another virtualization platform exception
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
parent
57357b0be7
commit
09f2c6a999
3 changed files with 6 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue