mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
396 B
YAML
20 lines
396 B
YAML
2 years ago
|
- block:
|
||
|
- name: Install distlib
|
||
|
pip:
|
||
|
name: distlib
|
||
|
state: present
|
||
|
register: distlib
|
||
|
|
||
|
- set_fact:
|
||
|
output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
|
||
|
|
||
|
- import_tasks: manifest.yml
|
||
|
environment:
|
||
|
ANSIBLE_NOCOLOR: 1
|
||
|
always:
|
||
|
- name: Uninstall distlib
|
||
|
pip:
|
||
|
name: distlib
|
||
|
state: absent
|
||
|
when: distlib is changed
|