Merge pull request #1339 from ceph/rgw-remove-sudo

rgw: remove sudoers file
pull/1350/head
Sébastien Han 2017-03-07 16:44:28 +01:00 committed by GitHub
commit 703e82f277
4 changed files with 0 additions and 21 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -1,2 +0,0 @@
# {{ ansible_managed }}
Defaults:{{ radosgw_user }} !requiretty