ansible-desktop/deploy.yml
2021-09-30 17:08:57 +00:00

45 lines
833 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
- rpmfusion-nonfree-repo
- 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