From d6c8cb14cb8e83249376883c5ca8bc675c6aa02f Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 13 Jan 2024 17:10:54 +0500 Subject: [PATCH] feat: add dev playbook --- playbooks/dev.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 playbooks/dev.yml diff --git a/playbooks/dev.yml b/playbooks/dev.yml new file mode 100644 index 0000000..9b24e7a --- /dev/null +++ b/playbooks/dev.yml @@ -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