Remove warn argument for command/shell
Since ansible-core 2.14 you can't use warn as module argument. Instead, a tag is used to instruct ansible-lint to supress alerts. Change-Id: I4ceeee4bf6c1020851824450ec7b30f6d14573f3
This commit is contained in:
parent
01a08f39bb
commit
0e1abb2858
@ -28,10 +28,10 @@
|
|||||||
{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('dpkg -L ' ~ (venv_packages_to_symlink | join(' ')), 'rpm -ql ' ~ (venv_packages_to_symlink | join(' ')) ) }}
|
{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('dpkg -L ' ~ (venv_packages_to_symlink | join(' ')), 'rpm -ql ' ~ (venv_packages_to_symlink | join(' ')) ) }}
|
||||||
| egrep '^.*{{ _venv_python_major_version }}.*/(site|dist)-packages/.*'
|
| egrep '^.*{{ _venv_python_major_version }}.*/(site|dist)-packages/.*'
|
||||||
| egrep -v "__pycache__"
|
| egrep -v "__pycache__"
|
||||||
args:
|
|
||||||
warn: no
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: _python_files
|
register: _python_files
|
||||||
|
tags:
|
||||||
|
- skip_ansible_lint
|
||||||
|
|
||||||
- name: Link the python host package files into venv
|
- name: Link the python host package files into venv
|
||||||
vars:
|
vars:
|
||||||
|
Loading…
Reference in New Issue
Block a user