Added python part to ansible script

This commit is contained in:
andronache
2021-10-27 15:37:07 +03:00
committed by Dan Christian Bogos
parent d0de6fbd5f
commit 58ecfc28e9

View File

@@ -1,4 +1,13 @@
---
- name: Install Python
hosts: all
remote_user: '{{ user }}'
gather_facts: false
tasks:
- name: Install Python3s
raw: apt -y install python3
become: true
- hosts: all
vars:
ansible_python_interpreter: auto # to disable deprication warning related to the use of python2