diff --git a/infrastructure-playbooks/purge-iscsi-gateways.yml b/infrastructure-playbooks/purge-iscsi-gateways.yml index 721a02e6e..a773ba678 100644 --- a/infrastructure-playbooks/purge-iscsi-gateways.yml +++ b/infrastructure-playbooks/purge-iscsi-gateways.yml @@ -21,6 +21,7 @@ - name: Removing the gateway configuration hosts: iscsi-gws + become: yes vars: - igw_purge_type: "{{hostvars['localhost']['igw_purge_type']}}" @@ -34,4 +35,3 @@ - name: restart rbd-target-gw daemons service: name=rbd-target-gw state=restarted -