The bare word no has a special meaning of False in YAML: http://yaml.org/type/bool.html
To use the literal word "no" it must be quoted. On Monday, November 3, 2014, Francisco Reyes <[email protected]> wrote: > On Monday, November 3, 2014 8:59:59 PM UTC-5, Matt Martz wrote: > >>I'd strongly recommend providing more information such as: > >> > The issue seems to be related to the word 'no' > > I did a very large number of variations to troubleshoot and it came down > to: > > This works > sshrootlogin: 'no' > sshpasswords: 'no' > > This doesn't > sshrootlogin: no > sshpasswords: no > > Given that I have variables, and have seen samples, that do not have to > put single quotes I wonder if 'no' is a reserved word of sorts. > > -- > 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 [email protected] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/b163b4c4-c3f8-4254-bf0e-de5a6d777074%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/b163b4c4-c3f8-4254-bf0e-de5a6d777074%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAD8N0v_tFMQXD-5txjxjOmHNXra1d19Uc9F-8ut98BkkrQivDA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
