فهرست منبع

changed command option

aeth 9 ماه پیش
والد
کامیت
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"
   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: