aboutsummaryrefslogtreecommitdiff
path: root/ansible/post-deploy.yml
diff options
context:
space:
mode:
authorwu.chunyang <wuchunyang@yovole.com>2020-08-11 14:35:26 +0800
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-10-08 14:50:52 +0000
commit195269d7588dedcd57effccb10bc96d4840af367 (patch)
treef051d6dfa34449b2e999c1d2d4c0673777388761 /ansible/post-deploy.yml
parent894f4912acd635ddb1bfec171bcd4e3de610caaf (diff)
downloadkolla-ansible-195269d7588dedcd57effccb10bc96d4840af367.tar.gz
kolla-ansible-195269d7588dedcd57effccb10bc96d4840af367.zip
add octavia openrc file
we use octavia user to upload image currently, so it is better to create a octavia openrc file for user Implements: blueprint implement-automatic-deploy-of-octavia Change-Id: Ib53d00fa4a6ee59b8a0b2245f83786a6af0cbf53
Diffstat (limited to 'ansible/post-deploy.yml')
-rw-r--r--ansible/post-deploy.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml
index 6bf8b482c..831d41e71 100644
--- a/ansible/post-deploy.yml
+++ b/ansible/post-deploy.yml
@@ -10,3 +10,8 @@
owner: "{{ ansible_user_uid }}"
group: "{{ ansible_user_gid }}"
mode: 0600
+
+ - import_role:
+ name: octavia
+ tasks_from: openrc.yml
+ when: enable_octavia | bool