e47c4671c7
This is separate from the previous patch - it's just the results of running the script so we can review the two a little independently. We should probably squash them. Change-Id: I838f15cf4a32455a5be20033c8ddc27db6ca15c0
38 lines
809 B
YAML
38 lines
809 B
YAML
---
|
|
- name: Create a test object file
|
|
shell: mktemp
|
|
register: tmp_file
|
|
|
|
- name: Create container
|
|
openstack.cloud.object:
|
|
cloud: "{{ cloud }}"
|
|
state: present
|
|
container: ansible_container
|
|
container_access: private
|
|
|
|
- name: Put object
|
|
openstack.cloud.object:
|
|
cloud: "{{ cloud }}"
|
|
state: present
|
|
name: ansible_object
|
|
filename: "{{ tmp_file.stdout }}"
|
|
container: ansible_container
|
|
|
|
- name: Delete object
|
|
openstack.cloud.object:
|
|
cloud: "{{ cloud }}"
|
|
state: absent
|
|
name: ansible_object
|
|
container: ansible_container
|
|
|
|
- name: Delete container
|
|
openstack.cloud.object:
|
|
cloud: "{{ cloud }}"
|
|
state: absent
|
|
container: ansible_container
|
|
|
|
- name: Delete test object file
|
|
file:
|
|
name: "{{ tmp_file.stdout }}"
|
|
state: absent
|