]> git.phdru.name Git - ansible.git/commitdiff
Feat: Add playbook `init-system2`
authorOleg Broytman <phd@phdru.name>
Tue, 23 Jul 2019 22:12:16 +0000 (01:12 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 23 Jul 2019 22:12:16 +0000 (01:12 +0300)
playbooks/debian-init-system.sh
playbooks/debian/init-system2.yml [new file with mode: 0644]

index 8655c7293f149adf7946a64776b873881217110c..1d4e537aa548298e2e704bcdac714c0f7c6abebf 100755 (executable)
@@ -5,4 +5,4 @@ cd "`dirname \"$0\"`" &&
 # Passwordless access isn't configured yet; use `ssh` connection sharing.
 # `sudo` isn't configured yet too; use `su` and ask for root password.
 ansible-playbook debian/init-system.yml "$@" --become-method=su -K &&
-exec ./run-role debian/remove-systemd "$@"
+exec ansible-playbook debian/init-system2.yml "$@"
diff --git a/playbooks/debian/init-system2.yml b/playbooks/debian/init-system2.yml
new file mode 100644 (file)
index 0000000..0efdf4a
--- /dev/null
@@ -0,0 +1,5 @@
+- name: Setup Debain system - part 2
+  hosts: "{{ hosts | default('servers') }}"
+  gather_facts: false
+  roles:
+    - remove-systemd