fix variable references
This commit is contained in:
6
venv.yml
6
venv.yml
@ -34,20 +34,20 @@
|
||||
- name: Create VirtualEnv and Install ansible-lint
|
||||
ansible.builtin.pip:
|
||||
name: ansible-lint==6.22.0
|
||||
virtualenv: "{{ ansible_lint_venv_dir }}"
|
||||
virtualenv: "{{ ansible_lint_venv }}"
|
||||
virtualenv_python: python3.9
|
||||
|
||||
|
||||
- name: Ansible Lint Debug Information
|
||||
block:
|
||||
- name: Test Ansible Lint - Version
|
||||
ansible.builtin.command: "{{ ansible_lint_venv_dir }}/bin/ansible-lint --nocolor --version"
|
||||
ansible.builtin.command: "{{ ansible_lint_venv }}/bin/ansible-lint --nocolor --version"
|
||||
register: r_lint_version
|
||||
changed_when: false
|
||||
|
||||
|
||||
- name: Test Ansible Lint - Help
|
||||
ansible.builtin.command: "{{ ansible_lint_venv_dir }}/bin/ansible-lint --nocolor --help"
|
||||
ansible.builtin.command: "{{ ansible_lint_venv }}/bin/ansible-lint --nocolor --help"
|
||||
register: r_lint_help
|
||||
changed_when: false
|
||||
|
||||
|
Reference in New Issue
Block a user