summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack/tasks
diff options
context:
space:
mode:
authorØystein Bedin <oybed@users.noreply.github.com>2017-06-16 13:25:27 -0400
committerRyan Cook <rcook@redhat.com>2017-06-16 10:25:27 -0700
commit7ba2ef768b25b99f628c88a8e6348a8d0df630a0 (patch)
treed96d9d6f202955cf980b043376eeedb36482ebc9 /roles/openstack-stack/tasks
parenta6bf0552961c7b8c63639850fd0501941e89938f (diff)
downloadopenshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.gz
openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.bz2
openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.xz
openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.zip
Revert "Add an Openstack provider (#397)" (#465)
This reverts commit 94756e66352439d48e5d02b461679bd0f1e121cb.
Diffstat (limited to 'roles/openstack-stack/tasks')
-rw-r--r--roles/openstack-stack/tasks/main.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/roles/openstack-stack/tasks/main.yml b/roles/openstack-stack/tasks/main.yml
deleted file mode 100644
index 71c7bbe0d..000000000
--- a/roles/openstack-stack/tasks/main.yml
+++ /dev/null
@@ -1,41 +0,0 @@
----
-- name: create HOT stack template prefix
- register: stack_template_pre
- tempfile:
- state: directory
- prefix: casl-ansible
-
-- name: set template paths
- set_fact:
- stack_template_path: "{{ stack_template_pre.path }}/stack.yaml"
- server_template_path: "{{ stack_template_pre.path }}/server.yaml"
- user_data_template_path: "{{ stack_template_pre.path }}/user-data"
-
-- name: generate HOT stack template from jinja2 template
- template:
- src: heat_stack.yaml.j2
- dest: "{{ stack_template_path }}"
-
-- name: generate HOT server template from jinja2 template
- template:
- src: heat_stack_server.yaml.j2
- dest: "{{ server_template_path }}"
-
-- name: generate user_data from jinja2 template
- template:
- src: user_data.j2
- dest: "{{ user_data_template_path }}"
-
-- name: create stack
- ignore_errors: False
- register: stack_create
- os_stack:
- name: "{{ stack_name }}"
- state: present
- template: "{{ stack_template_path }}"
- wait: yes
-
-- name: cleanup temp files
- file:
- path: "{{ stack_template_pre.path }}"
- state: absent