From 92e080e738e1275cf6fe740a0a4259cdedca0d66 Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Tue, 30 Apr 2024 23:04:07 +0200 Subject: [PATCH] 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. --- ansible/libs7comm.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.51.0