handle interpreter if debian11

This commit is contained in:
Ataxya 2021-10-11 21:51:02 +02:00
parent 91c90a36fa
commit 6cacf0a1ab
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
[all] [all]
10.20.1.101 ansible_user=root #website 10.20.1.101 ansible_user=root #website

View File

@ -13,5 +13,7 @@
apt: upgrade=dist apt: upgrade=dist
- name: Reboot - name: Reboot
vars:
ansible_python_interpreter: /usr/bin/python3
reboot: reboot:
msg: "Attention au reboot !" msg: "Attention au reboot !"