aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/openstack/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'resources/ansible_roles/openstack/tasks')
-rw-r--r--resources/ansible_roles/openstack/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/ansible_roles/openstack/tasks/main.yml b/resources/ansible_roles/openstack/tasks/main.yml
index ed043831..6fabfb01 100644
--- a/resources/ansible_roles/openstack/tasks/main.yml
+++ b/resources/ansible_roles/openstack/tasks/main.yml
@@ -84,3 +84,14 @@
flavor: "{{ flavor_name }}"
keypair: QtipKey
external_network: "{{ external_network }}"
+ register: stack
+
+- name: generating inventory file
+ template:
+ src: hosts.j2
+ dest: ./hosts
+
+- name: generating ssh.cfg
+ template:
+ src: ssh.cfg.j2
+ dest: ./ssh.cfg