meow :3
This commit is contained in:
parent
667fc21c12
commit
75cacd3182
15 changed files with 125 additions and 148 deletions
51
plays/tasks/provisioning/debian.yml
Normal file
51
plays/tasks/provisioning/debian.yml
Normal file
|
@ -0,0 +1,51 @@
|
|||
- name: Set a hostname
|
||||
ansible.builtin.hostname:
|
||||
name: '{{ inventory_hostname.split(".")[0] | lower }}'
|
||||
use: debian
|
||||
|
||||
- name: Set the timezone
|
||||
community.general.timezone:
|
||||
name: Australia/Perth
|
||||
|
||||
- name: Add AARNet bookworm repository
|
||||
apt_repository:
|
||||
repo: deb https://mirror.aarnet.edu.au/debian bookworm main contrib
|
||||
state: present
|
||||
|
||||
- name: Add AARNet bookworm-updates repository
|
||||
apt_repository:
|
||||
repo: deb https://mirror.aarnet.edu.au/debian bookworm-updates main contrib
|
||||
state: present
|
||||
|
||||
- name: Add AARNet bookworm-security repository
|
||||
apt_repository:
|
||||
repo: deb https://mirror.aarnet.edu.au/debian-security bookworm-security main contrib
|
||||
state: present
|
||||
|
||||
- name: Install some standard packages
|
||||
apt:
|
||||
pkg:
|
||||
- avahi-daemon
|
||||
- curl
|
||||
- fish
|
||||
- git
|
||||
- libnss-mdns
|
||||
- neovim
|
||||
- nnn
|
||||
- rsync
|
||||
- sudo
|
||||
|
||||
- name: Add fish nnn quitcd function
|
||||
ansible.builtin.copy:
|
||||
src: ./quitcd.fish
|
||||
dest: /etc/fish/functions/n.fish
|
||||
|
||||
- name: Make sure avahi-daemon is running
|
||||
systemd_service:
|
||||
state: started
|
||||
name: avahi-daemon
|
||||
|
||||
- name: Add 'fern' user
|
||||
user:
|
||||
name: fern
|
||||
shell: /usr/bin/fish
|
Loading…
Add table
Add a link
Reference in a new issue