kolla-ansible/kolla_ansible
Michal Nasiadka 4f62dd4661 cli: Add check=True to catch Ansible failures
From [1]:
If check is true, and the process exits with a non-zero
exit code, a CalledProcessError exception will be raised.
Attributes of that exception hold the arguments, the exit
code, and stdout and stderr if they were captured.

[1]: https://docs.python.org/3/library/subprocess.html

Closes-Bug: #2089173

Change-Id: I8cf38c2f7db1493e7303e94c212251fbeafaced3
2024-11-20 16:01:14 +00:00
..
2024-11-03 11:40:46 +01:00
2024-10-28 08:48:23 +00:00
2024-10-28 17:20:27 +01:00
2024-05-07 10:06:50 +00:00