31 lines
866 B
YAML
31 lines
866 B
YAML
- name: Create launcher venv
|
|
include_role:
|
|
name: create-venv
|
|
vars:
|
|
create_venv_path: '/usr/launcher-venv'
|
|
|
|
- name: Add RAX rdns credentials
|
|
template:
|
|
src: rax-rdns-auth.conf.j2
|
|
dest: /etc/rax-rdns-auth.conf
|
|
owner: root
|
|
group: root
|
|
mode: '0600'
|
|
|
|
- name: Install node launcher
|
|
pip:
|
|
name: 'file:///home/zuul/src/opendev.org/opendev/system-config/launch'
|
|
virtualenv: '/usr/launcher-venv'
|
|
|
|
# Admins use openstackclient on the bastion host to deal with cloud
|
|
# issues. The best version to use is the one from launch node, as
|
|
# whatever workarounds we need to talk to all clouds should be in that
|
|
# environment. For convenience link this version globally
|
|
- name: Link openstack client globally
|
|
file:
|
|
src: /usr/launcher-venv/bin/openstack
|
|
dest: /usr/local/bin/openstack
|
|
owner: root
|
|
group: root
|
|
state: link
|