Quoted name and imagename to prevent sytnax error in ansible
[plstackapi.git] / planetstack / openstack_observer / steps / sync_controller_images.yaml
index 55ad36a..18228db 100644 (file)
@@ -2,12 +2,12 @@
 - 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