How to do it…

  1. Let's begin with creating a container, as follows:
- name: create an object container
os_object:
state: present
container: backup
  1. Now let's push a sample object here, as follows:
- name: upload backup.tar to backup container
os_object:
filename: /opt/backup.tar
container: backup
name: backup.tar
state: present
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset