Ignore ansible-lint E303, usage of systemctl command is unavoidable

This commit is contained in:
yurihs 2019-05-23 14:37:58 -03:00
parent 53218db597
commit efc868edc2

View file

@ -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'