2018-08-30 18:20:50 +02:00
|
|
|
- name: Install docutils
|
|
|
|
pip:
|
|
|
|
name: docutils
|
|
|
|
|
|
|
|
- name: Install ansible-runner
|
|
|
|
pip:
|
|
|
|
name: ansible-runner
|
2019-03-20 22:36:23 +01:00
|
|
|
version: 1.2.0
|
2020-07-16 00:22:44 +02:00
|
|
|
extra_args:
|
|
|
|
-c {{ role_path }}/files/constraints.txt
|
2018-08-30 18:20:50 +02:00
|
|
|
|
|
|
|
- name: Find location of ansible-runner installation
|
|
|
|
command: "'{{ ansible_python_interpreter }}' -c 'import os, ansible_runner; print(os.path.dirname(ansible_runner.__file__))'"
|
|
|
|
register: ansible_runner_path
|
|
|
|
|
|
|
|
# work around for https://github.com/ansible/ansible-runner/issues/132
|
|
|
|
- name: Set callback path to work around ansible-runner bug
|
|
|
|
set_fact:
|
|
|
|
callback_path: ":{{ ansible_runner_path.stdout }}/callbacks"
|