ansible/server/cleanup.yml

21 lines
377 B
YAML
Raw Normal View History

2020-05-24 22:36:09 +00:00
---
- 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