Skip to content

Commit

Permalink
fix: remove variable no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Feb 7, 2024
1 parent ad16b16 commit f42db2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/python_generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
dest: "{{ py_data.tar_file }}"
checksum: "md5:{{ py_data.md5 }}"
mode: "0440"
when: should_install and not already_installed.stat.exists
when: not already_installed.stat.exists

- name: "{{ py_data.version }} | Uncompress"

Check warning on line 18 in tasks/python_generic.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

name[template]

Jinja templates should only be at the end of 'name'
ansible.builtin.unarchive:
src: "{{ py_data.tar_file }}"
dest: /tmp
copy: false
creates: "{{ py_data.sources }}"
when: should_install and not already_installed.stat.exists
when: not already_installed.stat.exists

- name: "{{ py_data.version }} | Compile and install"

Check warning on line 26 in tasks/python_generic.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

name[template]

Jinja templates should only be at the end of 'name'
become: true
Expand All @@ -32,7 +32,7 @@
- "./configure --enable-optimizations --prefix {{ py_data.install }}"
- make
- make install
when: should_install and not already_installed.stat.exists
when: not already_installed.stat.exists
register: output
changed_when: output.rc != 0

Expand All @@ -42,4 +42,4 @@
src: "{{ py_data.install }}"
dest: "{{ base_install_folder }}/python{{ py_data.major_version }}"
state: link
when: should_install and not already_installed.stat.exists
when: not already_installed.stat.exists

0 comments on commit f42db2e

Please sign in to comment.