From c7476fb375023a4a99093efe8adaf0d0c4344951 Mon Sep 17 00:00:00 2001 From: Alessandro Corbelli Date: Wed, 26 Mar 2014 11:22:37 +0100 Subject: [PATCH] Remove RadosGW default users --- roles/radosgw/tasks/Debian.yml | 3 +++ roles/radosgw/tasks/RedHat.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/roles/radosgw/tasks/Debian.yml b/roles/radosgw/tasks/Debian.yml index f5b600e82..7ca16efe2 100644 --- a/roles/radosgw/tasks/Debian.yml +++ b/roles/radosgw/tasks/Debian.yml @@ -79,3 +79,6 @@ - name: Create a swift subuser key command: radosgw-admin --name client.radosgw.gateway key create --subuser=johndoe:swift --key-type=swift ignore_errors: True + +- name: Remove user from radosgw + command: radosgw-admin --name client.radosgw.gateway user rm --uid=johndoe diff --git a/roles/radosgw/tasks/RedHat.yml b/roles/radosgw/tasks/RedHat.yml index 64579ebac..30487d57d 100644 --- a/roles/radosgw/tasks/RedHat.yml +++ b/roles/radosgw/tasks/RedHat.yml @@ -68,3 +68,6 @@ - name: Create a swift subuser key command: radosgw-admin --name client.radosgw.gateway key create --subuser=johndoe:swift --key-type=swift ignore_errors: True + +- name: Remove user from radosgw + command: radosgw-admin --name client.radosgw.gateway user rm --uid=johndoe