aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates
diff options
context:
space:
mode:
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