195269d758
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
10 lines
235 B
YAML
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
|