mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
Ignore ansible-lint E303, usage of systemctl command is unavoidable
This commit is contained in:
parent
53218db597
commit
efc868edc2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
|
||||
# Due to ansible bug 21026, cannot use service module on RHEL 7
|
||||
- name: Enable service in chroot
|
||||
command: systemctl enable {{ sshd_service }}
|
||||
command: systemctl enable {{ sshd_service }} # noqa 303
|
||||
when:
|
||||
- ansible_connection == 'chroot'
|
||||
- ansible_os_family == 'RedHat'
|
||||
|
|
Loading…
Reference in a new issue