From 58ecfc28e9fa7ef38a7eda758c32ed9729d00a09 Mon Sep 17 00:00:00 2001 From: andronache Date: Wed, 27 Oct 2021 15:37:07 +0300 Subject: [PATCH] Added python part to ansible script --- data/ansible/calls/freeswitch/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/ansible/calls/freeswitch/main.yaml b/data/ansible/calls/freeswitch/main.yaml index d7654f80e..206df2cf3 100644 --- a/data/ansible/calls/freeswitch/main.yaml +++ b/data/ansible/calls/freeswitch/main.yaml @@ -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