Skip to content

Commit 83b9131

Browse files
committed
add ansible-storage-update call
1 parent a13d03b commit 83b9131

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

workflows/openstack/sensors/sensor-ironic-oslo-event.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,20 @@ spec:
116116
secretKeyRef:
117117
key: token
118118
name: nautobot-token
119+
- - name: ansible-storage-update
120+
when: "\"{{steps.oslo-events.outputs.parameters.storage}}\" == wanted"
121+
inline:
122+
container:
123+
image: ghcr.io/rss-engineering/undercloud-nautobot/ansible:latest
124+
command: [ansible-playbook]
125+
args:
126+
- "storage_update_switches.yml"
127+
- "-i"
128+
- "inventory/uc-dev/01-nautobot.yaml"
129+
- "-vvv"
130+
env:
131+
- name: NAUTOBOT_TOKEN
132+
valueFrom:
133+
secretKeyRef:
134+
key: token
135+
name: nautobot-token

0 commit comments

Comments
 (0)