Disallow old syntax
#2188
-
It would be nice if we had a rule that would disallow this syntax:
I don't think the syntax is deprecated by Ansible but it's been years since the YAML format is the preferred way: - name: OpenSSH daemon configuration
become: yes
template:
src: sshd_config.j2
dest: /etc/ssh/sshd_config
notify: reload-sshd I ran it through ansible-lint 6.2.2 and it did not complain about the syntax. Also checking the rules directory didn't show anything related. |
Beta Was this translation helpful? Give feedback.
Answered by
gtirloni
Jun 3, 2022
Replies: 1 comment
-
Similar discussion here. Unfortunately I only noticed it now and I can't close this one. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gtirloni
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar discussion here. Unfortunately I only noticed it now and I can't close this one.