Check status of an operation running in the background - Ansible

0 votes
I want to check the status of an operation that is running background in Ansible. How do I achieve this?
Mar 6 in Ansible by Neel
24 views

1 answer to this question.

0 votes

Hey @Neel, According to the documentation,

Long running operations can run in the background, and it is possible to check their status later. For example, to execute long_running_operation asynchronously in the background, with a timeout of 3600 seconds (-B), and without polling (-P):

$ ansible all -B 3600 -P 0 -a "/usr/bin/long_running_operation --do-stuff"
answered Mar 6 by Yesha

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer

Role of subelement module in an Ansible playbook

Hey @Rahul thanks for a better question ...READ MORE

answered Jan 16 in Ansible by Emily
111 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
145 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer