Add Ubuntu roles

This commit is contained in:
Anthony Rose 2019-11-04 22:37:42 +00:00
parent b716f21964
commit 6792c40aaa
4 changed files with 60 additions and 0 deletions

View file

@ -1,5 +1,7 @@
--- ---
- include: debian.yml - include: debian.yml
when: ansible_distribution == 'Debian' when: ansible_distribution == 'Debian'
- include: ubuntu.yml
when: ansible_distribution == 'Ubuntu'
- include: freebsd.yml - include: freebsd.yml
when: ansible_distribution == 'FreeBSD' when: ansible_distribution == 'FreeBSD'

View 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

View file

@ -1,6 +1,8 @@
--- ---
- include: debian.yml - include: debian.yml
when: ansible_distribution == 'Debian' when: ansible_distribution == 'Debian'
- include: ubuntu.yml
when: ansible_distribution == 'Ubuntu'
- include: freebsd.yml - include: freebsd.yml
when: ansible_distribution == 'FreeBSD' when: ansible_distribution == 'FreeBSD'
- include: modules.yml - include: modules.yml

View 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