From: Alessandro Corbelli Date: Wed, 26 Mar 2014 10:34:05 +0000 (+0100) Subject: Totally removed test users creation from RGW tasks X-Git-Tag: v1.0.0~366^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F61%2Fhead;p=ceph-ansible.git Totally removed test users creation from RGW tasks --- 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