xoxys.python3/tasks/setup.yml
Robert Kaussow 427241bf3e
Some checks failed
continuous-integration/drone/push Build is failing
install pip3 from yum
2019-09-20 10:49:10 +02:00

20 lines
572 B
YAML

---
- block:
- name: Install python 3 package
package:
name: "{{ item }}"
state: present
loop: "{{ python3_packages_extra + python3_packages | default(__python3_packages) }}"
- name: Link binaries to '{{ __python3_link_bin_path }}'
file:
src: "{{ item.src }}"
dest: "{{ __python3_link_bin_path }}/{{ item.dest }}"
state: link
loop:
- { src: /bin/python3.6, dest: python3 }
loop_control:
label: "{{ __python3_link_bin_path }}/{{ item.dest }}"
become: True
become_user: root