ansible-desktop/deploy.yml
2021-06-26 17:11:02 +00:00

44 lines
753 B
YAML

---
- name: "deploy workstation"
hosts: localhost
connection: local
become: true
become_method: sudo
vars_files:
- vars.yml
roles:
- cups
- firefox
- git
- google-chrome
- kerberos
- ldap
- mutt
- spotify
- thinlinc
- thunderbird
tasks:
- name: "remove unneeded packages"
package:
name: "{{ item }}"
state: absent
with_items:
- abrt
- mlocate
- name: "hide grub menu during boot"
lineinfile:
path: /etc/default/grub
line: "{{ item }}"
with_items:
- GRUB_HIDDEN_TIMEOUT=1
- GRUB_HIDDEN_TIMEOUT_QUIET=true
- name: "remove grub default timeout"
lineinfile:
path: /etc/default/grub
regexp: "^GRUB_TIMEOUT="
state: absent