]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/remove-systemd/tasks/remove-systemd.yml
Feat(debian/remove-systemd): Remove SystemD
[ansible.git] / playbooks / roles / debian / remove-systemd / tasks / remove-systemd.yml
diff --git a/playbooks/roles/debian/remove-systemd/tasks/remove-systemd.yml b/playbooks/roles/debian/remove-systemd/tasks/remove-systemd.yml
new file mode 100644 (file)
index 0000000..dbc493d
--- /dev/null
@@ -0,0 +1,11 @@
+- name: Purge SystemD
+  become: true
+  apt:
+    autoclean: yes
+    autoremove: yes
+    install_recommends: no
+    name: ['systemd', 'libnss-systemd']
+    purge: yes
+    state: absent
+    update_cache: no
+  register: purged