add version to venv dir
add virtualenv_python to call 3.9 add python39 and git to list of packages to install
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
vars:
|
vars:
|
||||||
ansible_lint_vers : "6.13.1"
|
ansible_lint_vers : "6.13.1"
|
||||||
ansible_lint_venv : /tmp/ansible-lint-venv
|
ansible_lint_venv : "/tmp/ansible-lint-venv-{{ ansible_lint_vers }}"
|
||||||
git_repo_to_lint : https://gitea.thezengarden.net/chris/ansible-lint-poc.git
|
git_repo_to_lint : https://gitea.thezengarden.net/chris/ansible-lint-poc.git
|
||||||
lint_work_dir : /tmp/lint_repository
|
lint_work_dir : /tmp/lint_repository
|
||||||
|
|
||||||
@ -15,6 +15,8 @@
|
|||||||
- name: Ensure virtualenv command is present
|
- name: Ensure virtualenv command is present
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
|
- python39
|
||||||
|
- git
|
||||||
- virtualenv
|
- virtualenv
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
@ -24,6 +26,7 @@
|
|||||||
name: ansible-lint
|
name: ansible-lint
|
||||||
# name: "ansible-lint=={{ ansible_lint_vers }}"
|
# name: "ansible-lint=={{ ansible_lint_vers }}"
|
||||||
virtualenv: "{{ ansible_lint_venv }}"
|
virtualenv: "{{ ansible_lint_venv }}"
|
||||||
|
virtualenv_python: python3.9
|
||||||
|
|
||||||
|
|
||||||
- name: Ansible Lint Debug Information
|
- name: Ansible Lint Debug Information
|
||||||
|
Reference in New Issue
Block a user