diff --git a/ansible/roles/ceph/tasks/distribute_keyrings.yml b/ansible/roles/ceph/tasks/distribute_keyrings.yml index 7be4cb25db..f4aa389792 100644 --- a/ansible/roles/ceph/tasks/distribute_keyrings.yml +++ b/ansible/roles/ceph/tasks/distribute_keyrings.yml @@ -18,7 +18,6 @@ dest: "{{ node_config_directory }}/ceph-osd/{{ item.filename }}" sha1: "{{ item.sha1 }}" mode: 0600 - become: true with_items: - "{{ ceph_files['ceph.client.admin.keyring'] }}" when: inventory_hostname in groups['ceph-osd'] @@ -30,7 +29,6 @@ dest: "{{ node_config_directory }}/ceph-mon/{{ item.filename }}" sha1: "{{ item.sha1 }}" mode: 0600 - become: true with_items: - "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.mon.keyring'] }}" @@ -45,7 +43,6 @@ dest: "{{ node_config_directory }}/ceph-rgw/{{ item.filename }}" sha1: "{{ item.sha1 }}" mode: 0600 - become: true with_items: - "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.radosgw.keyring'] }}" diff --git a/ansible/roles/ceph/tasks/start_osds.yml b/ansible/roles/ceph/tasks/start_osds.yml index cd51d9ce87..157879dc7d 100644 --- a/ansible/roles/ceph/tasks/start_osds.yml +++ b/ansible/roles/ceph/tasks/start_osds.yml @@ -20,7 +20,6 @@ name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}" opts: "{{ ceph_osd_mount_options }}" with_items: "{{ osds }}" - become: true become_method: sudo - name: Gathering OSD IDs