Browse Source

changed command option

aeth 9 months ago
parent
commit
ba79b555f8

+ 1 - 1
tasks/tasks_machine_configuration/vpn/server/task_machine_configuration.yml

@@ -6,7 +6,7 @@
 
 - name: "10: Create Public and Private server keys"
   ansible.builtin.shell:
-    command: "wg genkey | tee /etc/wireguard/privatekey | wg pubkey | tee /etc/wireguard/publickey"
+    cmd: "wg genkey | tee /etc/wireguard/privatekey | wg pubkey | tee /etc/wireguard/publickey"
 
 - name: "20: Modify Private key permissions"
   ansible.builtin.file: