kolla-ansible/ansible/roles/octavia/tasks/openrc.yml
wu.chunyang 195269d758 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
2020-10-08 14:50:52 +00:00

10 lines
235 B
YAML

---
- name: Template out octavia-openrc.sh
become: true
template:
src: octavia-openrc.sh.j2
dest: "{{ node_config }}/octavia-openrc.sh"
owner: "{{ ansible_user_uid }}"
group: "{{ ansible_user_gid }}"
mode: 0600