7a66a26b77
These all trigger command-instead-of-shell for ansible-lint 6.12.0. It seems a few were ignored with warnings with I4e415cbd34f0f4cb15857051bf95458e0316de86. I don't see why these can't be command: for consistency Change-Id: Ib0f590b461d2a5a7d9bb8bdddcbbfb2230cc3d1c
18 lines
455 B
YAML
18 lines
455 B
YAML
- hosts: all
|
|
name: Remove any pre-installed tox
|
|
tasks:
|
|
- name: Remove tox package with pip
|
|
command: pip uninstall -y tox
|
|
become: true
|
|
failed_when: false
|
|
- name: Remove tox package with pip3
|
|
command: pip3 uninstall -y tox
|
|
become: true
|
|
failed_when: false
|
|
- name: Verify tox is not installed
|
|
command: "tox --version"
|
|
register: result
|
|
failed_when: result.rc == 0
|
|
roles:
|
|
- ensure-tox
|