Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit 459389c

Browse files
committed
Fix linting errors
1 parent fbcd667 commit 459389c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tasks/install.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,17 @@
9191
pyenv_global_versions_path: "{{ pyenv_path }}/version"
9292
block:
9393
- name: "Does pyenv globals file exist?"
94-
stat:
94+
ansible.builtin.stat:
9595
path: "{{ pyenv_global_versions_path }}"
9696
register: _pyenv_globals_file
9797
- name: "Read the pyenv global versions"
98-
slurp:
98+
ansible.builtin.slurp:
9999
src: "{{ pyenv_global_versions_path }}"
100100
register: _pyenv_globals_file_content
101101
when: _pyenv_globals_file.stat.exists
102102
- name: "Set pyenv global {{ pyenv_global }}"
103103
ansible.builtin.shell: . {{ pyenvrc_path }}/.pyenvrc && pyenv global {{ pyenv_global | join(' ') }} && pyenv rehash
104+
changed_when: true
104105
when:
105106
- _pyenv_globals_file.stat.exists
106107
- (_pyenv_globals_file_content.content | b64decode | split('\n') | select() | list) != pyenv_global

0 commit comments

Comments
 (0)