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>
#
#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
#rgw_pull_port: "{{ radosgw_civetweb_port }}"
#rgw_pull_proto: "http"
#
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
rgw_pull_port: "{{ radosgw_civetweb_port }}"
rgw_pull_proto: "http"
group: "ceph"
mode: "0600"
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"
+++ /dev/null
-# {{ ansible_managed }}
-Defaults:{{ radosgw_user }} !requiretty