Move name from block to tasks in the block

block allows adding a name - but it's not actually emitted anywhere in
the logging. So while this documents the source code, it's not reflected
in logging.

I just happened to learn this elsewhere.

Change-Id: I95362ed94418144e332f7289b1bfa5b2ade68de7
This commit is contained in:
Monty Taylor 2017-08-30 17:29:48 -05:00
parent 1a36ffd08e
commit f6eb7b2fc8
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594

View File

@ -10,7 +10,10 @@
- name: Ensure twine is installed
block:
- command: pip install twine --user
- set_fact:
- name: Ensure twine is installed
command: pip install twine --user
- name: Set pypi_twine_executable
set_fact:
pypi_twine_executable: ~/.local/bin/twine
when: register_twine.rc != 0