- hosts: 127.0.0.1
connection: local
tasks:
- - glance:
+ - glance_image:
auth_url: {{ endpoint }}
- username: {{ admin_user }}
- tenant_name: 'admin'
- password: {{ admin_password }}
- name: {{ name }}
- file: {{ filepath }}
- format: 'raw'
+ login_username: {{ admin_user }}
+ login_tenant_name: 'admin'
+ login_password: {{ admin_password }}
+ name: "{{ name }}"
+ file: "{{ filepath }}"
+ disk_format: 'raw'
is_public: true