diff --git a/ansible/roles/ceph/tasks/distribute_keyrings.yml b/ansible/roles/ceph/tasks/distribute_keyrings.yml index 7be4cb25db2d8027e99f94f30af45268cf12547d..f4aa3897922d0560bcf8dba2c29d10388acc9f51 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 cd51d9ce87014c9ef29886eab2318429eb834599..157879dc7df992600ec1f9c19d5653045c287722 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