How to get tasks whether in block … rescue in ansible callball script?
– name: test start block: – name: test A …. rescue: – name: test N … task A in block and task B in rescue. class CallbackModule(CallbackBase): def v2_playbook_on_task_start(self, task, is_conditional): “` I want to get this task whether in block or rescue “` I think may be can get tasks information from Block class, […]
Running a shell script in nohup mode from a python script and checking its status back and running few other tasks
I have few playbooks which have run in parallel in background, so I used subprocess.Popen function.