Remove the duplicate dict key (become)
Change-Id: I5f9d3eb6bd42f43073704d1e8c2b8bd03fb9eb9b
This commit is contained in:
parent
1ab1c835c4
commit
d6549a70ed
@ -18,7 +18,6 @@
|
|||||||
dest: "{{ node_config_directory }}/ceph-osd/{{ item.filename }}"
|
dest: "{{ node_config_directory }}/ceph-osd/{{ item.filename }}"
|
||||||
sha1: "{{ item.sha1 }}"
|
sha1: "{{ item.sha1 }}"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
become: true
|
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
||||||
when: inventory_hostname in groups['ceph-osd']
|
when: inventory_hostname in groups['ceph-osd']
|
||||||
@ -30,7 +29,6 @@
|
|||||||
dest: "{{ node_config_directory }}/ceph-mon/{{ item.filename }}"
|
dest: "{{ node_config_directory }}/ceph-mon/{{ item.filename }}"
|
||||||
sha1: "{{ item.sha1 }}"
|
sha1: "{{ item.sha1 }}"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
become: true
|
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
||||||
- "{{ ceph_files['ceph.client.mon.keyring'] }}"
|
- "{{ ceph_files['ceph.client.mon.keyring'] }}"
|
||||||
@ -45,7 +43,6 @@
|
|||||||
dest: "{{ node_config_directory }}/ceph-rgw/{{ item.filename }}"
|
dest: "{{ node_config_directory }}/ceph-rgw/{{ item.filename }}"
|
||||||
sha1: "{{ item.sha1 }}"
|
sha1: "{{ item.sha1 }}"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
become: true
|
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
- "{{ ceph_files['ceph.client.admin.keyring'] }}"
|
||||||
- "{{ ceph_files['ceph.client.radosgw.keyring'] }}"
|
- "{{ ceph_files['ceph.client.radosgw.keyring'] }}"
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}"
|
name: "/var/lib/ceph/osd/{{ item['fs_uuid'] }}"
|
||||||
opts: "{{ ceph_osd_mount_options }}"
|
opts: "{{ ceph_osd_mount_options }}"
|
||||||
with_items: "{{ osds }}"
|
with_items: "{{ osds }}"
|
||||||
become: true
|
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
|
|
||||||
- name: Gathering OSD IDs
|
- name: Gathering OSD IDs
|
||||||
|
Loading…
Reference in New Issue
Block a user