mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-11 01:30:18 +01:00
Recognize podman container runtime and ignore services there
This commit is contained in:
parent
a15ad61af5
commit
48dc56b2d2
3 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
when:
|
when:
|
||||||
- sshd_allow_reload|bool
|
- sshd_allow_reload|bool
|
||||||
- ansible_virtualization_type|default(None) != 'docker'
|
- ansible_virtualization_type|default(None) != 'docker'
|
||||||
|
- ansible_virtualization_type|default(None) != 'podman'
|
||||||
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
||||||
- ansible_connection != 'chroot'
|
- ansible_connection != 'chroot'
|
||||||
- ansible_os_family != 'AIX'
|
- ansible_os_family != 'AIX'
|
||||||
|
|
|
@ -157,6 +157,7 @@
|
||||||
when:
|
when:
|
||||||
- sshd_manage_service|bool
|
- sshd_manage_service|bool
|
||||||
- ansible_virtualization_type|default(None) != 'docker'
|
- ansible_virtualization_type|default(None) != 'docker'
|
||||||
|
- ansible_virtualization_type|default(None) != 'podman'
|
||||||
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
||||||
- ansible_connection != 'chroot'
|
- ansible_connection != 'chroot'
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
when:
|
when:
|
||||||
- __sshd_test_backup is defined
|
- __sshd_test_backup is defined
|
||||||
- ansible_virtualization_type|default(None) != 'docker'
|
- ansible_virtualization_type|default(None) != 'docker'
|
||||||
|
- ansible_virtualization_type|default(None) != 'podman'
|
||||||
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
|
||||||
- ansible_connection != 'chroot'
|
- ansible_connection != 'chroot'
|
||||||
- ansible_os_family != 'AIX'
|
- ansible_os_family != 'AIX'
|
||||||
|
|
Loading…
Reference in a new issue