Merge "Change command for shell"

This commit is contained in:
Zuul 2018-08-06 09:49:28 +00:00 committed by Gerrit Code Review
commit 72de72e7b5

View File

@ -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 }}"