aboutsummaryrefslogtreecommitdiff
path: root/ansible/post-deploy.yml
diff options
context:
space:
mode:
authorHui Kang <kangh@us.ibm.com>2015-11-04 13:03:43 -0500
committerHui Kang <kangh@us.ibm.com>2015-11-23 17:02:54 -0500
commit46673b81c154a018dca40f40dd527b3488b652dc (patch)
treeec000e507dc953344a1adf0fd8aa766822d34534 /ansible/post-deploy.yml
parentd3efbd07dc4d6095089666011dc79ac3bcae8036 (diff)
downloadkolla-ansible-46673b81c154a018dca40f40dd527b3488b652dc.tar.gz
kolla-ansible-46673b81c154a018dca40f40dd527b3488b652dc.zip
Create openrc file on the deploy node
This task is run as a post-deploy playbook Implements: blueprint ansible-task-generate-openrc Change-Id: I69f4ee895094da5c73494a41dccb2e86eb481656
Diffstat (limited to 'ansible/post-deploy.yml')
-rw-r--r--ansible/post-deploy.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml
new file mode 100644
index 000000000..76913dc54
--- /dev/null
+++ b/ansible/post-deploy.yml
@@ -0,0 +1,9 @@
+---
+- name: Creating admin openrc file on the deploy node
+ hosts: all
+ tasks:
+ - template:
+ src: "roles/common/templates/admin-openrc.sh.j2"
+ dest: "{{ node_config_directory }}/admin-openrc.sh"
+ run_once: True
+ connection: local