try
*- hosts: all roles: - role: debian_stock_config when: ansible_facts['os_family']|lower == 'debian'* On Thu, Aug 26, 2021 at 2:52 PM Luiz Guilherme Nunes Fernandes < [email protected]> wrote: > Hi, I have problems with global configuration playbook. > > what is the correct setting? > > > > > *- hosts: all roles: - role: debian_stock_configwhen: > ansible_facts['os_family']|lower == 'debian'* > > > > > > > > > *be elsewhere in the file depending on the exact syntax problem.The > offending line appears to be: roles: - role: debian_stock_config ^ > here* > > Any suggestions? > > -- > > <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> > Att. > ♪ ♫ Luiz Guilherme Nunes > Fernandes ♫ ♪ > > <<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAD%2BmhWLwvX3OSdfXt3vmdn%3D3D%3DaThzzfa9hHtD5%2BiLO%3DbZXcyQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAD%2BmhWLwvX3OSdfXt3vmdn%3D3D%3DaThzzfa9hHtD5%2BiLO%3DbZXcyQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMiM3L1OTeiMg4sxgGe7F7QPgMuGXHn2%2BuhADXh5AHYf1xYWmg%40mail.gmail.com.
