When i run the play the result shows PLAY RECAP ***************************************************************************************************************************************** xxx-test-noc : ok=2 changed=0 unreachable=0 failed=0
On Friday, January 18, 2019 at 1:52:49 PM UTC-8, Dick Visser wrote: > > Could you be more precise than "playbook is not running"? > What does that mean? > > > On Fri, 18 Jan 2019 at 21:47, <[email protected] <javascript:>> > wrote: > > > > This playbook is not running. Can anyone tell me why? > > Running on Linux CentOS 6.6 > > ansible 2.6.4 > > > > ansible-playbook -i hosts plays/sudoers.yml -u ansible-user > > > > - name: add groups to sudoers > > hosts: all > > tasks: > > - name: > > lineinfile: dest=/etc/sudoers regexp="^root(\s+)ALL=(ALL)(\s+)ALL" > insertafter="^root" line='{{ item }}' state=present backup=yes backrefs=yes > > with_items: > > - '%admin\tALL=(ALL:ALL)\tALL' > > - '%users\tALL=(ALL:ALL)\tALL' > > tags: sudoers > > > > -- > > 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:>. > > To post to this group, send email to [email protected] > <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/75bd9b1a-9f73-4759-aada-50e99ac5d3f6%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT > -- 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/0694c836-aed6-4642-a988-70b952edbd4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
