d46fcf019e
1.12.0 is broken and a 1.12.1 fix is on the way. Don't install 1.12.0. Change-Id: Ia54736b74d3306614869a9bcb0ecec524ce26f94
20 lines
504 B
YAML
20 lines
504 B
YAML
- name: Check for twine install
|
|
command: which twine
|
|
failed_when: false
|
|
register: register_twine
|
|
|
|
- name: Set pypi_twine_executable
|
|
set_fact:
|
|
pypi_twine_executable: "{{ register_twine.stdout }}"
|
|
when: register_twine.rc == 0
|
|
|
|
- name: Ensure twine is installed
|
|
block:
|
|
- name: Ensure twine is installed
|
|
command: pip install twine!=1.12.0 --user
|
|
|
|
- name: Set pypi_twine_executable
|
|
set_fact:
|
|
pypi_twine_executable: ~/.local/bin/twine
|
|
when: register_twine.rc != 0
|