first commit

This commit is contained in:
Caleb Fultz 2024-07-14 02:20:25 -04:00
commit ca8706011d
4 changed files with 72 additions and 0 deletions

3
ansible.cfg Normal file
View File

@ -0,0 +1,3 @@
[defaults]
inventory = inventory
private_key_file = ~/.ssh/hetzner

1
inventory Normal file
View File

@ -0,0 +1 @@
localhost

52
roles/base/tasks/main.yml Normal file
View File

@ -0,0 +1,52 @@
- name: Install packages
become: yes
package:
name:
- openssh-server
- git
- nano
- tmux
- rsync
- htop
- python3
- python-pip
- build-essential
- name: Install GNOME3 Desktop with extensions
become: yes
package:
- ubuntu-desktop
- task-gnome-desktop
- gnome-shell-extensions
- name: Install GUI apps
become: yes
package:
- terminator
- flatpak
- gnome-shell-extensions
- gimp
- snapd
- openconnect
- network-manager-openconnect
- network-manager-openconnect-gnome
- calibre
- name: Install flatpaks
become: yes
community.general.flatpak:
name: https://s3.amazonaws.com/alexlarsson/spotify-repo/spotify.flatpakref
state: present
- name: Install snaps
become: yes
community.general.snap:
name:
- steam
- name: Install Chrome
become: yes
apt:
deb: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

16
site.yml Normal file
View File

@ -0,0 +1,16 @@
---
- hosts: all
become: true
pre_tasks:
- name: Run updates
tags: always
package:
upgrade: dist
update_cache: yes
when: ansible_os_family == "Debian"
- hosts: all
become: true
roles:
- base