ansible: install libs7comm and libs7comm-python on routers too
authorKristof Provost <kp@FreeBSD.org>
Tue, 30 Apr 2024 21:04:07 +0000 (23:04 +0200)
committerKristof Provost <kp@FreeBSD.org>
Tue, 30 Apr 2024 21:04:07 +0000 (23:04 +0200)
We'll want it on both router devices, even if it's for slightly different
purposes.

ansible/libs7comm.yaml

index 224381d..a1bdd87 100644 (file)
@@ -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