]> xn--ix-yja.es Git - alex.git/commitdiff
Fix missing parameterization
authoralex <alex@pdp7.net>
Sat, 4 Feb 2023 17:49:15 +0000 (18:49 +0100)
committeralex <alex@pdp7.net>
Sat, 4 Feb 2023 17:49:15 +0000 (18:49 +0100)
personal_infra/playbooks/patch_rpc_svcgssd_service.yaml

index 957ecdd119950865c542b28bbdc0fa008951d5d1..683cb0451b11d8d686bf04c729799e17bd706f30 100644 (file)
@@ -6,7 +6,7 @@
     ansible_become: True
   tasks:
   - name: del nfs service
-    command: ipa service-del nfs/h1.pdp7.net
+    command: ipa service-del nfs/{{ inventory_hostname }}
     ignore_errors: True
   - name: create nfs service
     command: ipa service-add nfs/{{ inventory_hostname }}