Add the file that executes the tasks.
This commit is contained in:
parent
b92c84dc79
commit
4eabd100dd
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: Install some python3 packages on deb distributsions
|
||||
block:
|
||||
- name: Install some python3 packages on Ubuntu/Debian
|
||||
apt:
|
||||
pkg: '{{ ansible_python3_debs }}'
|
||||
state: present
|
||||
cache_valid_time: 1800
|
||||
|
||||
when: ansible_distribution_file_variety == "Debian"
|
||||
tags: ['python', 'python3']
|
||||
|
||||
- name: Install some python3 packages on EL
|
||||
block:
|
||||
- name: Install some python3 packages on EL
|
||||
yum:
|
||||
pkg: '{{ ansible_python3_el }}'
|
||||
state: present
|
||||
|
||||
when: ansible_distribution_file_variety == "RedHat"
|
||||
tags: ['python', 'python3']
|
||||
|
Loading…
Reference in New Issue