Remove selfcheck.json
The file selfcheck.json has no discernable purpose,
so it is removed. The file pip-selfcheck.json is
automatically created by pip and used to track
when last it checked if it's on the latest version.
The tags implemented in the role are also corrected
to ensure that the placement of the pip.conf file
is considered a 'config' task, not an 'install'
task. The sub-tags are removed as they are unnecessary.
Change-Id: I53ad3a9c50071a34286f2351f5f245f272c07638
(cherry picked from commit 4e7e23f6e9
)
This commit is contained in:
parent
78b2ca5571
commit
df107891bf
|
@ -1 +0,0 @@
|
|||
{}
|
|
@ -35,19 +35,6 @@
|
|||
- "{{ ansible_env.HOME }}/.cache"
|
||||
- "{{ ansible_env.HOME }}/.cache/pip"
|
||||
- "{{ ansible_env.HOME }}/.pip"
|
||||
tags:
|
||||
- pip-directories
|
||||
|
||||
- name: Drop pip file(s)
|
||||
copy:
|
||||
src: "selfcheck.json"
|
||||
dest: "{{ ansible_env.HOME }}/.cache/pip/selfcheck.json"
|
||||
owner: "{{ ansible_user_id }}"
|
||||
group: "{{ ansible_group_id|default(ansible_user_id) }}"
|
||||
mode: "0644"
|
||||
force: no
|
||||
tags:
|
||||
- pip-files
|
||||
|
||||
- name: Drop pip config
|
||||
config_template:
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
- include: configure.yml
|
||||
tags:
|
||||
- pip_install-install
|
||||
- pip_install-config
|
||||
|
||||
- include: install.yml
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue