mirror of https://github.com/ceph/ceph-ansible.git
rgw: remove sudoers file
This was needed for Hammer and older version, not needed anymore since we have a 'ceph' user to run ceph processes. Signed-off-by: Sébastien Han <seb@redhat.com>pull/1339/head
parent
5b67535056
commit
88c6296fa2
|
@ -25,11 +25,6 @@ dummy:
|
||||||
#
|
#
|
||||||
#cephx: true
|
#cephx: true
|
||||||
|
|
||||||
# Used for the sudo exception while starting the radosgw process
|
|
||||||
# a new entry /etc/sudoers.d/ceph will be created
|
|
||||||
# allowing root to not require tty
|
|
||||||
#radosgw_user: root
|
|
||||||
|
|
||||||
# Multi-site remote pull URL variables
|
# Multi-site remote pull URL variables
|
||||||
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
||||||
#rgw_pull_proto: "http"
|
#rgw_pull_proto: "http"
|
||||||
|
|
|
@ -17,11 +17,6 @@ copy_admin_key: false
|
||||||
#
|
#
|
||||||
cephx: true
|
cephx: true
|
||||||
|
|
||||||
# Used for the sudo exception while starting the radosgw process
|
|
||||||
# a new entry /etc/sudoers.d/ceph will be created
|
|
||||||
# allowing root to not require tty
|
|
||||||
radosgw_user: root
|
|
||||||
|
|
||||||
# Multi-site remote pull URL variables
|
# Multi-site remote pull URL variables
|
||||||
rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
rgw_pull_port: "{{ radosgw_civetweb_port }}"
|
||||||
rgw_pull_proto: "http"
|
rgw_pull_proto: "http"
|
||||||
|
|
|
@ -40,12 +40,3 @@
|
||||||
group: "ceph"
|
group: "ceph"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
when: cephx
|
when: cephx
|
||||||
|
|
||||||
- name: generate rados gateway sudoers file
|
|
||||||
template:
|
|
||||||
src: ceph.j2
|
|
||||||
dest: /etc/sudoers.d/ceph
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0400
|
|
||||||
when: ansible_distribution != "Ubuntu"
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
# {{ ansible_managed }}
|
|
||||||
Defaults:{{ radosgw_user }} !requiretty
|
|
Loading…
Reference in New Issue