I have the following task in an Ansible playbook, using Ansible 2.0:
- name: Push base image to glance
os_image:
auth:
auth_url: *
username: admin
password: *
project_name: admin
name: centos-6
container_format: bare
disk_format: qcow2
state: present
filename: centos-6.qcow2
is_public: yes
The image is successfully pushed to Glance, however it is not made public.
I have to manually edit the image in Horizon, or use glance cli to make it
public.
I have raised a bug in ansible-modules-core in Github
: https://github.com/ansible/ansible-modules-core/issues/2100
Any help will be greatly appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/da9feaf1-0837-4455-b1b9-af5ee129aaee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.