mirror of https://github.com/ceph/ceph-ansible.git
roles: Remove useless become (true) flag
We already set the become flag to true at a play level in the site*
playbooks so we don't need to set it at a task level.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 7c3640177b
)
pull/4139/head
parent
aa197f77fc
commit
590f6026bb
|
@ -19,7 +19,6 @@
|
|||
|
||||
- name: install ceph dependencies
|
||||
script: "{{ ansible_dir }}/rundep_installer.sh {{ item }}"
|
||||
become: true
|
||||
with_items: "{{ (rundep_location|default({})).stdout_lines|default([]) }}"
|
||||
when: use_installer | bool
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
- name: generate systemd unit files for tcmu-runner, rbd-target-api and rbd-target-gw
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/{{ item }}.service.j2"
|
||||
dest: /etc/systemd/system/{{ item }}.service
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
- ansible_service_mgr == 'systemd'
|
||||
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-mgr.service.j2"
|
||||
dest: /etc/systemd/system/ceph-mgr@.service
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
- ansible_service_mgr == 'systemd'
|
||||
|
||||
- name: generate systemd unit file for mon container
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-mon.service.j2"
|
||||
dest: /etc/systemd/system/ceph-mon@.service
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
- name: dbus related tasks
|
||||
block:
|
||||
- name: create dbus service file
|
||||
become: true
|
||||
copy:
|
||||
src: "org.ganesha.nfsd.conf"
|
||||
dest: /etc/dbus-1/system.d/org.ganesha.nfsd.conf
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
when: ceph_nfs_dynamic_exports | bool
|
||||
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-nfs.service.j2"
|
||||
dest: /etc/systemd/system/ceph-nfs@.service
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
when: ceph_docker_on_openstack | bool
|
||||
|
||||
- name: generate ceph osd docker run script
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-osd-run.sh.j2"
|
||||
dest: "{{ ceph_osd_docker_run_script_path }}/ceph-osd-run.sh"
|
||||
|
@ -39,7 +38,6 @@
|
|||
register: ceph_osd_ids
|
||||
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-osd.service.j2"
|
||||
dest: /etc/systemd/system/ceph-osd@.service
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
# Use systemd to manage container on Atomic host
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-rbd-mirror.service.j2"
|
||||
dest: /etc/systemd/system/ceph-rbd-mirror@.service
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
- name: generate environment file
|
||||
become: true
|
||||
copy:
|
||||
dest: "/var/lib/ceph/radosgw/{{ cluster }}-rgw.{{ ansible_hostname }}.{{ item.instance_name }}/EnvironmentFile"
|
||||
owner: "root"
|
||||
|
@ -12,7 +11,6 @@
|
|||
with_items: "{{ rgw_instances }}"
|
||||
|
||||
- name: generate systemd unit file
|
||||
become: true
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ceph-radosgw.service.j2"
|
||||
dest: /etc/systemd/system/ceph-radosgw@.service
|
||||
|
|
Loading…
Reference in New Issue