On Thu, 5 Sep 2019 08:28:36 -0700 (PDT) Jon Adcock <jon.adco...@gmail.com> wrote:
> Vlado, It's my understanding that the validate step should be done once in > the playbook. Not for each sshd action in the playbook. Is that what you > are saying? Jon, how this might be accomplished? "validate" by design says: https://docs.ansible.com/ansible/latest/modules/lineinfile_module.html "The validation command to run before copying into place..." It works for me fine that way. The burden of the repeated validation is present in the first run only (when idempotent). It's worth to be sure sshd will keep running. Cheers, -vlado -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20190905195559.07fd2edf%40gmail.com.
pgpfnZ3UnqRD_.pgp
Description: OpenPGP digital signature