Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions hooks/playbooks/skmo/prepare-leaf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@
args:
executable: /bin/bash

- name: Grant swiftoperator role to cinder service user for backup
ansible.builtin.command:
cmd: >-
oc rsh -n {{ central_namespace }} openstackclient
openstack role add --user cinder --project service swiftoperator
register: _cinder_swift_role
changed_when: false
failed_when: (_cinder_swift_role.rc | int) >= 1

- name: Get existing leaf CA bundle secret if present
kubernetes.core.k8s_info:
api_version: v1
Expand Down
Loading