Fix linting issues for ansible-lint 3.4.1

Preparing this role for the ansible-lint version bump

Change-Id: I157d31811c3104a75b14521a560a04f9bd5156b2
This commit is contained in:
Jean-Philippe Evrard 2016-11-04 17:08:29 +00:00
parent ef36c27565
commit eee216fdc4
3 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ debug: False
# Set the package install state for distribution packages
# Options are 'present' and 'latest'
zaqar_package_state: "latest"
zaqar_pip_package_state: "latest"
# Name of the virtual env to deploy into
zaqar_venv_tag: untagged

View File

@ -36,7 +36,7 @@
- name: Install requires pip packages
pip:
name: "{{ zaqar_requires_pip_packages | join(' ') }}"
state: latest
state: "{{ zaqar_pip_package_state }}"
extra_args: >-
{{ (pip_install_upper_constraints is defined) | ternary('--constraint ' + pip_install_upper_constraints | default(''),'') }}
{{ pip_install_options | default('') }}
@ -147,7 +147,7 @@
- name: Install pip packages (venv)
pip:
name: "{{ zaqar_pip_packages | join(' ') }}"
state: latest
state: "{{ zaqar_pip_package_state }}"
virtualenv: "{{ zaqar_bin | dirname }}"
virtualenv_site_packages: "no"
extra_args: >-

View File

@ -40,6 +40,7 @@
- Restart Nginx
tags:
- zaqar-nginx
- skip_ansible_lint
- name: Add zaqar nginx configuration file
template: