diff --git a/inventory b/inventory index 9947ec0..71d53ca 100644 --- a/inventory +++ b/inventory @@ -1,3 +1,3 @@ [all] -10.20.1.101 ansible_user=root #website \ No newline at end of file +10.20.1.101 ansible_user=root #website \ No newline at end of file diff --git a/playbook/upgrade.yml b/playbook/upgrade.yml index c0aa020..b5c0956 100644 --- a/playbook/upgrade.yml +++ b/playbook/upgrade.yml @@ -13,5 +13,7 @@ apt: upgrade=dist - name: Reboot + vars: + ansible_python_interpreter: /usr/bin/python3 reboot: msg: "Attention au reboot !"