Skip to content

Commit

Permalink
ceph deploy: become stack
Browse files Browse the repository at this point in the history
Required if the initial dev-install was done by e.g. `cloud-user`.
  • Loading branch information
EmilienM committed Aug 29, 2023
1 parent 29b907f commit cc435ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playbooks/roles/ceph/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- name: Tasks for ceph-adm
when: ceph_adm_enabled
become: true
become_user: stack
block:
- name: Set facts for ceph-adm
ansible.builtin.set_fact:
Expand Down Expand Up @@ -77,6 +79,7 @@
tripleo_ceph_spec_osd_spec: "{{ osd_spec }}"
tripleo_ceph_spec_debug: true
tripleo_ceph_spec_generate_scripts: true
tripleo_ceph_spec_become: true

- name: Create ceph-admin user via tripleo-operator-ansible
collections:
Expand All @@ -90,6 +93,7 @@
tripleo_ceph_user_standalone: true
tripleo_ceph_user_debug: true
tripleo_ceph_user_generate_scripts: true
tripleo_ceph_user_become: true

- name: Deploy Ceph via tripleo-operator-ansible
collections:
Expand Down

0 comments on commit cc435ad

Please sign in to comment.