Set ha_slot fact
Change-Id: I77cb76c1d1066ce4bddb50747b0f6f45f5fc1815
This commit is contained in:
parent
ad607397a4
commit
d131542f87
@ -81,7 +81,8 @@
|
|||||||
- name: Register the HA Slot ID
|
- name: Register the HA Slot ID
|
||||||
shell: |
|
shell: |
|
||||||
set -o pipefail && echo "{{ result.stdout }}" | grep 'HA Group Slot ID' | awk '{ print $NF }'
|
set -o pipefail && echo "{{ result.stdout }}" | grep 'HA Group Slot ID' | awk '{ print $NF }'
|
||||||
register: ha_slot
|
register: slot_result
|
||||||
|
|
||||||
- debug:
|
- name: Set HA Slot fact for use by the playbook calling this role
|
||||||
msg: "HA Slot ID: {{ ha_slot.stdout }}"
|
set_fact:
|
||||||
|
lunasa_ha_slot: "{{ slot_result.stdout }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user