Address linter complaints.

* Truthy values should be true or false rather than yes or no
* Linter won't allow hard-coded 'latest' package state
This commit is contained in:
Wayne Warren 2019-05-28 12:15:39 +00:00
parent 35ad620e01
commit af20a792c5
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ certbot_create_standalone_stop_services:
# - apache # - apache
# - varnish # - varnish
certbot_install_from_pypi: no certbot_install_from_pypi: false
certbot_pypi_version: latest certbot_pypi_version: latest
# To install from source (on older OSes or if you need a specific or newer # To install from source (on older OSes or if you need a specific or newer

View File

@ -4,7 +4,7 @@
- certbot_pypi_version == "latest" - certbot_pypi_version == "latest"
pip: pip:
name: "{{ item }}" name: "{{ item }}"
state: latest state: "{{ certbot_pypi_version }}"
with_items: with_items:
- certbot - certbot
- certbot-nginx - certbot-nginx