Without the escalation, invocation from non-root
users with fail when accessing the rados config
object, or when attempting to log to /var/log
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1549004
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
(cherry picked from commit
2890b57cfc2e1ef9897a791ce60f4a5545011907)
Signed-off-by: Sébastien Han <seb@redhat.com>
- name: Removing the gateway configuration
hosts: iscsi-gws
+ become: yes
vars:
- igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}"
- name: restart rbd-target-gw daemons
service: name=rbd-target-gw state=restarted
-