浏览代码

removing sudo enablement

aeth 9 月之前
父节点
当前提交
6c8cf4fb2a
共有 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 | sudo tee /etc/wireguard/privatekey | wg pubkey | sudo tee /etc/wireguard/publickey"
+    command: "wg genkey | tee /etc/wireguard/privatekey | wg pubkey | tee /etc/wireguard/publickey"
 
 - name: "20: Modify Private key permissions"
   ansible.builtin.file: