]> xn--ix-yja.es Git - alex.git/commitdiff
Refine a bit tinc (still bad)
authoralex <alex@pdp7.net>
Sun, 13 Jul 2025 18:27:31 +0000 (20:27 +0200)
committeralexpdp7 <alex@corcoles.net>
Sun, 13 Jul 2025 18:28:21 +0000 (20:28 +0200)
personal_infra/playbooks/setup_tinc_keys.yaml

index bdd6711619910c527bdc3cb467188c35ffef384b..b32c2e54f1290358e1317cf1cafb2ab9efa76524 100644 (file)
       dest: "/etc/ansible/tinc/"
     with_inventory_hostnames:
       - tinc
+  - name: regenerate hosts
+    command: /etc/tinc/pdp7/generate_host_{{ hostvars[item].network.location}}.sh
+    with_inventory_hostnames:
+      - tinc
+  - name: restart tinc
+    service:
+      name: tinc@pdp7
+      state: restarted