diff --git a/Ansible/inventaire.ini b/Ansible/inventaire.ini index a29b964..396c124 100644 --- a/Ansible/inventaire.ini +++ b/Ansible/inventaire.ini @@ -1,5 +1,5 @@ [Raspberry] -rasp1 +rasp1 capteur1=1 rasp2 [autretruc] diff --git a/Ansible/roles/arduino_Setup/tasks/main.yml b/Ansible/roles/arduino_Setup/tasks/main.yml index 0ba4a5a..b1f011d 100644 --- a/Ansible/roles/arduino_Setup/tasks/main.yml +++ b/Ansible/roles/arduino_Setup/tasks/main.yml @@ -6,6 +6,7 @@ owner: root group: root mode: '0644' + when: capteur1 is undefined - name: "verif install python3" apt: -- libgit2 0.21.2