Set ha_slot fact

Change-Id: I77cb76c1d1066ce4bddb50747b0f6f45f5fc1815
This commit is contained in:
Douglas Mendizábal 2020-04-28 16:30:24 -05:00
parent ad607397a4
commit d131542f87

View File

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