Add symlink for ansible-config
Change-Id: Ie3f182a8d4c97968872f6a69e0d7c7484e09d07a
This commit is contained in:
parent
cd67d03270
commit
8ecf842e67
@ -25,6 +25,15 @@
|
||||
- name: Install molecule to local venv
|
||||
command: '{{ molecule_venv_path }}/bin/pip install -r {{ zuul.project.src_dir }}/molecule/default/requirements.txt ansible molecule=={{ molecule_version }}'
|
||||
|
||||
# NOTE(mnaser): molecule shells out to "ansible-config" and since we don't
|
||||
# have it in our PATH.
|
||||
- name: Create symbolic link for ansible-config
|
||||
become: true
|
||||
file:
|
||||
src: '{{ molecule_venv_path }}/bin/ansible-config'
|
||||
dest: /usr/local/bin/ansible-config
|
||||
state: link
|
||||
|
||||
- name: Export installed molecule_executable path
|
||||
set_fact:
|
||||
molecule_executable: '{{ molecule_venv_path }}/bin/molecule'
|
||||
|
Loading…
x
Reference in New Issue
Block a user