49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
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: install extra packages
|
|
package:
|
|
name: "{{ item }}"
|
|
state: installed
|
|
with_items:
|
|
- emacs # more editors
|
|
- gstreamer1-plugin-openh264 # h264 plugin for browser
|
|
- podman-docker # add docker compatibility
|
|
- vim # better vi
|
|
- virt-manager # manage virtual machines
|
|
|
|
- name: hide grub menu during boot
|
|
lineinfile:
|
|
path: /etc/default/grub
|
|
line: GRUB_TIMEOUT_STYLE=hidden
|
|
regexp: "^GRUB_TIMEOUT_STYLE=.*"
|