Merge "Change command for shell"
This commit is contained in:
commit
72de72e7b5
@ -51,7 +51,7 @@
|
|||||||
delegate_to: "{{ physical_host }}"
|
delegate_to: "{{ physical_host }}"
|
||||||
|
|
||||||
- name: Get machine-id
|
- name: Get machine-id
|
||||||
command: >-
|
shell: >-
|
||||||
hostnamectl --machine="{{ inventory_hostname }}" status | awk '/Machine ID/ {print $3}'
|
hostnamectl --machine="{{ inventory_hostname }}" status | awk '/Machine ID/ {print $3}'
|
||||||
register: _container_machine_id
|
register: _container_machine_id
|
||||||
delegate_to: "{{ physical_host }}"
|
delegate_to: "{{ physical_host }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user