Add Ubuntu roles
This commit is contained in:
parent
b716f21964
commit
6792c40aaa
4 changed files with 60 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
- include: debian.yml
|
||||
when: ansible_distribution == 'Debian'
|
||||
- include: ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
- include: freebsd.yml
|
||||
when: ansible_distribution == 'FreeBSD'
|
||||
|
|
24
roles/distro-gui/tasks/ubuntu.yml
Normal file
24
roles/distro-gui/tasks/ubuntu.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- name: Install Ubuntu GUI packages
|
||||
become: true
|
||||
apt:
|
||||
name: '{{ packages }}'
|
||||
state: present
|
||||
force_apt_get: yes
|
||||
vars:
|
||||
packages:
|
||||
- caja-open-terminal
|
||||
- dconf-cli
|
||||
- emacs
|
||||
- evolution
|
||||
- galculator
|
||||
- git-gui
|
||||
- mpv
|
||||
- nextcloud-desktop
|
||||
- redshift-gtk
|
||||
- remmina
|
||||
- rxvt-unicode
|
||||
- seahorse
|
||||
- vim-gtk
|
||||
- xinput
|
||||
- xterm
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- include: debian.yml
|
||||
when: ansible_distribution == 'Debian'
|
||||
- include: ubuntu.yml
|
||||
when: ansible_distribution == 'Ubuntu'
|
||||
- include: freebsd.yml
|
||||
when: ansible_distribution == 'FreeBSD'
|
||||
- include: modules.yml
|
||||
|
|
32
roles/distro/tasks/ubuntu.yml
Normal file
32
roles/distro/tasks/ubuntu.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
- name: Install Ubuntu CLI packages
|
||||
become: true
|
||||
apt:
|
||||
name: '{{ packages }}'
|
||||
state: present
|
||||
force_apt_get: yes
|
||||
vars:
|
||||
packages:
|
||||
- apt-file
|
||||
- ansible
|
||||
- asciidoctor
|
||||
- build-essential
|
||||
- dc
|
||||
- devscripts
|
||||
- dnsutils
|
||||
- git
|
||||
- gnupg
|
||||
- mc
|
||||
- nmap
|
||||
- openssh-server
|
||||
- packagekit
|
||||
- python3
|
||||
- python3-psutil
|
||||
- ruby-asciidoctor-pdf
|
||||
- sqlite3
|
||||
- sudo
|
||||
- tlp
|
||||
- tmux
|
||||
- vim
|
||||
- wordgrinder-ncurses
|
||||
- zsh
|
Loading…
Reference in a new issue