aeth 1 год назад
Родитель
Сommit
ba79b555f8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tasks/tasks_machine_configuration/vpn/server/task_machine_configuration.yml

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

@@ -6,7 +6,7 @@
 
 
 - name: "10: Create Public and Private server keys"
 - name: "10: Create Public and Private server keys"
   ansible.builtin.shell:
   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"
 - name: "20: Modify Private key permissions"
   ansible.builtin.file:
   ansible.builtin.file: