2024-01-13 17:10:54 +05:00
|
|
|
- name: Development environment
|
|
|
|
hosts: odhosts
|
|
|
|
tasks:
|
|
|
|
- name: Install essential cmd tools - alacritty, git, tmux,
|
|
|
|
become: true
|
|
|
|
ansible.builtin.apt:
|
|
|
|
pkg:
|
|
|
|
- alacritty
|
|
|
|
- git
|
|
|
|
- tmux
|
2024-01-13 17:17:27 +05:00
|
|
|
- name: Install build tools - make, cmake, gcc, g++, clang, libc6-dev
|
2024-01-13 17:10:54 +05:00
|
|
|
become: true
|
|
|
|
ansible.builtin.apt:
|
|
|
|
pkg:
|
|
|
|
- make
|
2024-01-13 17:17:27 +05:00
|
|
|
- cmake
|
|
|
|
- gcc
|
|
|
|
- g++
|
|
|
|
- clang
|
|
|
|
- libc6-dev
|
2024-01-13 17:10:54 +05:00
|
|
|
- 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
|
2024-01-13 17:14:35 +05:00
|
|
|
- name: Install python
|
|
|
|
become: true
|
|
|
|
ansible.builtin.apt:
|
|
|
|
pkg:
|
|
|
|
- python3
|
|
|
|
- python3-venv
|
|
|
|
- python3-pip
|
2024-01-20 11:17:20 +05:00
|
|
|
- name: Install docker and docker-compose
|
|
|
|
become: true
|
|
|
|
ansible.builtin.apt:
|
|
|
|
pkg:
|
|
|
|
- docker
|
|
|
|
- docker-compose
|