Hey Sudheer, Thank you very much for your answer, but i think that you are not very well understand my questio...
The goal is that i can verify if my task who execut one script is ok. The problem is that when i run my playbook i can see state changed on this task same if in this script is false... Do you understand my question please ? Sorry for my english, i'm french :) But thank you very much for your help :) Regards, Le jeudi 16 mai 2019 14:56:44 UTC+2, Sudheer S a écrit : > > > On 16/05/19 6:24 PM, Ryad karkar wrote: > > Hey all, > > > > I have a lot of task in my repertory task/main.yml among them, this one > : > > > > - name: "Execut my script shell" > > script: ./script.sh > > register: result > > delegate_to: localhost > > > > I don't want play this task, i want that when i execut my playbook > > with command ansible-playbook, ansible try only this task and he tell > > me there is any error or not. > > > > do you understand ? > > > > Can you help me please community ansible !! ;) > > > > > Use tags: > > https://docs.ansible.com/ansible/latest/user_guide/playbooks_tags.html > > - > > Sudheer S > > -- 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/c37fd801-df24-4a81-a4b9-139cb573641f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
