From d7195922b29a6768e29cb6211ad66ba4722652cb Mon Sep 17 00:00:00 2001 From: Alessandro Corbelli Date: Wed, 26 Mar 2014 11:34:05 +0100 Subject: [PATCH] Totally removed test users creation from RGW tasks --- roles/radosgw/tasks/Debian.yml | 14 -------------- roles/radosgw/tasks/RedHat.yml | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/roles/radosgw/tasks/Debian.yml b/roles/radosgw/tasks/Debian.yml index 7ca16efe2..aea4277ee 100644 --- a/roles/radosgw/tasks/Debian.yml +++ b/roles/radosgw/tasks/Debian.yml @@ -68,17 +68,3 @@ - name: Start RGW command: /etc/init.d/radosgw start when: rgwstatus.rc != 0 - -- name: Create a user in radosgw - command: radosgw-admin --name client.radosgw.gateway user create --uid=johndoe --display-name="John Doe" --email=john@example.com - -- name: Create a swift subuser - command: radosgw-admin --name client.radosgw.gateway subuser create --uid=johndoe --subuser=johndoe:swift --access=full - ignore_errors: True - -- 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 30487d57d..2f759843a 100644 --- a/roles/radosgw/tasks/RedHat.yml +++ b/roles/radosgw/tasks/RedHat.yml @@ -57,17 +57,3 @@ - name: Start RGW command: /etc/init.d/ceph-radosgw start when: rgwstatus.rc != 0 - -- name: Create a user in radosgw - command: radosgw-admin --name client.radosgw.gateway user create --uid=johndoe --display-name="John Doe" --email=john@example.com - -- name: Create a swift subuser - command: radosgw-admin --name client.radosgw.gateway subuser create --uid=johndoe --subuser=johndoe:swift --access=full - ignore_errors: True - -- 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