How it works...

In step 1, we created an Azure Storage Container and named it cookbook.

In step 2, we uploaded an image file with the PNG format, located at /tmp/myfile.png on the host running the Ansible task, to the cookbook container. We also set the public_access parameter as a blob. We granted this blob the public read permission.

In step 3, we downloaded the same file we just uploaded to the /tmp/download_file.png location on the Ansible host.

..................Content has been hidden....................

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