mirror of https://github.com/ceph/ceph-ansible.git
Totally removed test users creation from RGW tasks
parent
c7476fb375
commit
d7195922b2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue