From d131542f87cb022e71364aa70640ec8d3f0756d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Tue, 28 Apr 2020 16:30:24 -0500 Subject: [PATCH] Set ha_slot fact Change-Id: I77cb76c1d1066ce4bddb50747b0f6f45f5fc1815 --- tasks/main.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 3035829..8b97462 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -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 }}"