Exclude service commands in Github Action CI

This commit is contained in:
Jakub Jelen 2020-10-26 09:45:50 +01:00
parent ad913968ac
commit 634d87490e
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@
when:
- sshd_allow_reload|bool
- ansible_virtualization_type|default(None) != 'docker'
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
- ansible_connection != 'chroot'
- ansible_os_family != 'AIX'
listen: reload_sshd

View file

@ -68,6 +68,7 @@
when:
- sshd_manage_service|bool
- ansible_virtualization_type|default(None) != 'docker'
- ansible_virtualization_type|default(None) != 'VirtualPC' # for Github Actions
- ansible_connection != 'chroot'
# Due to ansible bug 21026, cannot use service module on RHEL 7