Added ansible recipes for images, networks
[plstackapi.git] / planetstack / openstack_observer / steps / sync_controller_images.yaml
diff --git a/planetstack/openstack_observer/steps/sync_controller_images.yaml b/planetstack/openstack_observer/steps/sync_controller_images.yaml
new file mode 100644 (file)
index 0000000..55ad36a
--- /dev/null
@@ -0,0 +1,13 @@
+---
+- hosts: 127.0.0.1
+  connection: local 
+  tasks:
+  - glance:
+        auth_url: {{ endpoint }} 
+       username: {{ admin_user }}
+       tenant_name: 'admin'
+       password: {{ admin_password }}
+       name: {{ name }}
+        file: {{ filepath }}
+        format: 'raw'
+        is_public: true