aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-14 00:18:24 +0800
committerAaron LI <aly@aaronly.me>2018-02-14 00:20:47 +0800
commit7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9 (patch)
treeba9e2c9005f630814681b3a10bfc9a00a2e3bac4 /roles/bootstrap/templates
downloadansible-dfly-vps-7a63ffd9493b0a8b636de26b8f0954cf08a2b9d9.tar.bz2
Init ansible playbook for DFly VPS bootstrap
Diffstat (limited to 'roles/bootstrap/templates')
-rw-r--r--roles/bootstrap/templates/sudoers.d_ansible.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/bootstrap/templates/sudoers.d_ansible.j2 b/roles/bootstrap/templates/sudoers.d_ansible.j2
new file mode 100644
index 0000000..6bd73ec
--- /dev/null
+++ b/roles/bootstrap/templates/sudoers.d_ansible.j2
@@ -0,0 +1,2 @@
+# Allow user `{{ deploy_user }}` do deployment without password
+{{ deploy_user }} ALL=(ALL) NOPASSWD: ALL