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
1 changed files with 4 additions and 3 deletions

View File

@ -81,7 +81,8 @@
- name: Register the HA Slot ID
shell: |
set -o pipefail && echo "{{ result.stdout }}" | grep 'HA Group Slot ID' | awk '{ print $NF }'
register: ha_slot
register: slot_result
- debug:
msg: "HA Slot ID: {{ ha_slot.stdout }}"
- name: Set HA Slot fact for use by the playbook calling this role
set_fact:
lunasa_ha_slot: "{{ slot_result.stdout }}"