ansible/server/cleanup.yml
2020-05-25 00:36:09 +02:00

21 lines
377 B
YAML

---
- name: cleanup ubuntu
hosts: server
become_method: sudo
become_user: root
become: yes
tasks:
- name: clean packages
apt:
pkg:
- snapd
- cloud-init
- lxd
- lxd-client
state: absent
- name: disable ubuntu ads
copy:
src: etc/default/motd-news
dest: /etc/default/motd-news