From: Kristof Provost Date: Tue, 30 Apr 2024 21:04:07 +0000 (+0200) Subject: ansible: install libs7comm and libs7comm-python on routers too X-Git-Url: https://git.sigsegv.be/?a=commitdiff_plain;h=92e080e738e1275cf6fe740a0a4259cdedca0d66;p=pennestraat-domotica ansible: install libs7comm and libs7comm-python on routers too We'll want it on both router devices, even if it's for slightly different purposes. --- diff --git a/ansible/libs7comm.yaml b/ansible/libs7comm.yaml index 224381d..a1bdd87 100644 --- a/ansible/libs7comm.yaml +++ b/ansible/libs7comm.yaml @@ -1,5 +1,7 @@ - name: Install libs7comm.so - hosts: domoticamachines + hosts: + - domoticamachines + - routers tasks: - name: Install git community.general.pkgng: @@ -31,3 +33,7 @@ dest: /usr/local/lib/libs7comm.so.0.0 state: link become: true + - name: git checkout libs7comm-python + ansible.builtin.git: + repo: 'https://github.com/kprovost/libs7comm-python.git' + dest: /home/kp/libs7comm-python