config/playbooks/box.yml

27 lines
613 B
YAML
Raw Normal View History

- name: Configure distrobox dev container
hosts: localhost
connection: local
vars:
2025-08-14 14:46:34 +03:00
configure:
2025-08-09 11:47:58 +03:00
- bash
- cli
- git
- ssh
- scripts
apps:
- cli
vars_prompt:
- name: tools_in
2025-08-14 11:59:05 +03:00
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle)"
2025-08-09 11:47:58 +03:00
pre_tasks:
- name: Get tools list
ansible.builtin.set_fact:
tools: "{{ tools_in.split(',') }}"
roles:
# link and copy dotfiles
- role: dotfiles
# install apps
- role: installs
# install and setup dev tools
- role: dev