From b8e272bc9b8400ea95aa03d1aff6244dc6ebefc7 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 24 Jul 2019 01:12:16 +0300 Subject: [PATCH] Feat: Add playbook `init-system2` --- playbooks/debian-init-system.sh | 2 +- playbooks/debian/init-system2.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 playbooks/debian/init-system2.yml diff --git a/playbooks/debian-init-system.sh b/playbooks/debian-init-system.sh index 8655c72..1d4e537 100755 --- a/playbooks/debian-init-system.sh +++ b/playbooks/debian-init-system.sh @@ -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 index 0000000..0efdf4a --- /dev/null +++ b/playbooks/debian/init-system2.yml @@ -0,0 +1,5 @@ +- name: Setup Debain system - part 2 + hosts: "{{ hosts | default('servers') }}" + gather_facts: false + roles: + - remove-systemd -- 2.39.2