2025-08-08 22:26:14 +03:00
|
|
|
- name: Create distrobox containers on host
|
|
|
|
|
hosts: localhost
|
|
|
|
|
connection: local
|
|
|
|
|
vars:
|
|
|
|
|
tasks:
|
|
|
|
|
- name: Create containers
|
|
|
|
|
include_role:
|
|
|
|
|
name: dev_host
|
|
|
|
|
vars:
|
|
|
|
|
container_name: '{{ item }}'
|
|
|
|
|
loop: '{{ container_names }}'
|
2025-08-08 13:34:17 +03:00
|
|
|
|
2025-08-08 22:26:14 +03:00
|
|
|
- name: Setup containers
|
|
|
|
|
hosts: containers
|
|
|
|
|
roles:
|
|
|
|
|
# link and copy dotfiles
|
|
|
|
|
- role: dotfiles
|
|
|
|
|
vars:
|
|
|
|
|
configue:
|
|
|
|
|
- bash
|
|
|
|
|
- cli
|
|
|
|
|
- git
|
|
|
|
|
- ssh
|
|
|
|
|
- scripts
|
|
|
|
|
|
|
|
|
|
# install apps
|
|
|
|
|
- role: installs
|
|
|
|
|
vars:
|
|
|
|
|
apps:
|
|
|
|
|
- cli
|
|
|
|
|
|
|
|
|
|
# install and setup dev tools
|
|
|
|
|
- role: dev
|
|
|
|
|
vars:
|
|
|
|
|
tools: "{{ container_tools['{{item}}'] }}"
|
|
|
|
|
|
|
|
|
|
# TODO: repositories
|
|
|
|
|
|