]> git.phdru.name Git - ansible.git/commitdiff
Feat(debian-init-system): Add a script to run the playbook
authorOleg Broytman <phd@phdru.name>
Mon, 15 Jul 2019 23:26:19 +0000 (02:26 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 16 Jul 2019 18:28:41 +0000 (21:28 +0300)
playbooks/debian-init-system.sh [new file with mode: 0755]

diff --git a/playbooks/debian-init-system.sh b/playbooks/debian-init-system.sh
new file mode 100755 (executable)
index 0000000..8089e1d
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# Passwordless access isn't configured yet; use `ssh` connection sharing.
+# `sudo` isn't configured yet too; use `su` and ask for root password.
+exec ansible-playbook debian-init-system.yml debian-init-user-phd.yml \
+   "$@" --become-method=su -Kv