feat: add dev playbook
This commit is contained in:
parent
8f29924163
commit
d6c8cb14cb
1 changed files with 26 additions and 0 deletions
26
playbooks/dev.yml
Normal file
26
playbooks/dev.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
- name: Development environment
|
||||
hosts: odhosts
|
||||
tasks:
|
||||
- name: Install essential cmd tools - alacritty, git, tmux,
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- alacritty
|
||||
- git
|
||||
- tmux
|
||||
- name: Install build tools - make
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- make
|
||||
- name: Enable debian bookworm backports
|
||||
become: true
|
||||
ansible.builtin.apt_repository:
|
||||
repo: deb http://deb.debian.org/debian bookworm-backports main
|
||||
state: present
|
||||
filename: backports
|
||||
- name: Install golang from backports
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: golang
|
||||
default_release: bookworm-backports
|
Loading…
Reference in a new issue