瀏覽代碼

add restartvpn alias to nas

Blaine Story 3 年之前
父節點
當前提交
bcd314c632
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      group_vars/nas.yml

+ 5 - 0
group_vars/nas.yml

@@ -219,7 +219,12 @@ host_bash_aliases:
     alias: snapraid-watch-log
     command: tail -f /tmp/snapRAID.log
 
+  - user: root
+    alias: restartvpn
+    command: "cd ~/git/infra ; ansible-playbook plays/restart-vpn.yml ; cd - > /dev/null"
+
   - user: sambatouch
     alias: cdqbt
     command: cd /mergerfs/private/processing/qbittorrent
 
+