Ignore failure when showing last git commit details

Change-Id: I05ea309eef6e74bf960553c315c47d7523518784
This commit is contained in:
Federico Ressi 2022-07-20 11:26:57 +02:00
parent 86d23b5d08
commit d09da514c6
2 changed files with 6 additions and 2 deletions

View File

@ -67,3 +67,7 @@
- name: "show last change details"
debug: var=get_git_log.stdout_lines
rescue:
- name: "unable to show last change details"
debug: var=get_git_log.stderr_lines

View File

@ -25,9 +25,9 @@ UPPER_CONSTRAINTS_FILE = ENV.fetch(
# list of VMs
NODES = {
'primary' => {'ip' => '172.18.161.6',
'primary' => {'ip' => '192.168.56.10',
'hostname' => 'primary'},
'secundary' => {'ip' => '172.18.161.7',
'secundary' => {'ip' => '192.168.56.11',
'hostname' => 'secundary'},
}