xoxys.python3/tasks/setup.yml
Robert Kaussow 588e8a0a8a
Some checks failed
continuous-integration/drone/pr Build is failing
cleanup
2021-10-04 20:37:04 +02:00

26 lines
680 B
YAML

---
- block:
- name: Install Python3 packages
package:
name: "{{ item }}"
state: present
loop: "{{ python3_packages_extra + python3_packages }}"
- name: Remove other Python pckages
package:
name: "{{ item }}"
state: absent
loop: "{{ python3_packages_remove }}"
- name: Link binaries to '{{ python3_link_bin_path }}'
file:
src: "{{ item.src }}"
dest: "{{ python3_link_bin_path }}/{{ item.dest }}"
state: link
force: yes
loop: "{{ python3_link_bin }}"
loop_control:
label: "{{ python3_link_bin_path }}/{{ item.dest }}"
become: True
become_user: root