Merge "Handle missing or bad dmidecode"
This commit is contained in:
commit
6799cc0363
|
@ -415,6 +415,10 @@ outputs:
|
|||
- name: register machine id
|
||||
command: dmidecode -s system-uuid
|
||||
register: machine_uuid
|
||||
# NOTE(tonyb): 0 == no error, 1 == -EPERM or bad data and 2 == Command not found
|
||||
# 1 and 2 aren't great but shouldn't cause the deploy to fail. If we're using
|
||||
# the node specific data we'll fail then. If we aren't then lets keep moving
|
||||
failed_when: machine_uuid.rc not in [0, 1, 2]
|
||||
- name: generate host vars from nodes data
|
||||
local_action:
|
||||
module: copy
|
||||
|
|
Loading…
Reference in New Issue