1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/ansible-runner/tasks/setup.yml
Matt Clay 4b9c2cb97d
Prototype test for ansible-runner. (#44803)
* Prototype test for ansible-runner.

Based on https://github.com/ansible/ansible/pull/44746

* Limit test to RHEL 7 and CentOS 7.
2018-08-30 09:20:50 -07:00

16 lines
538 B
YAML

- name: Install docutils
pip:
name: docutils
- name: Install ansible-runner
pip:
name: ansible-runner
- 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"