2023-07-12 00:02:17 +02:00
|
|
|
---
|
feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
- Install Docker and Docker Compose via apt repository
- Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
- Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
|
|
|
- name: Copy bash-configs
|
2024-10-08 04:13:38 +02:00
|
|
|
ansible.builtin.template:
|
feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
- Install Docker and Docker Compose via apt repository
- Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
- Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
|
|
|
src: "files/bash/{{ item }}"
|
|
|
|
dest: "/home/{{ user }}/.{{ item }}"
|
2023-07-12 00:02:17 +02:00
|
|
|
owner: "{{ user }}"
|
|
|
|
group: "{{ user }}"
|
2024-10-08 04:13:38 +02:00
|
|
|
mode: "644"
|
feat(ansible): add Docker host configuration with NFS mounts and utility packages
- Introduce Docker host configuration playbooks in `docker_host` role
- Install Docker and Docker Compose via apt repository
- Configure Docker user, group, and required directories (`/opt/docker`, `/media`)
- Add NFS mounts for Docker data, series, movies, and songs directories
- Add extra utility packages (`bat`, `ripgrep`, `fd-find`, `screen`, `eza`, `neovim`)
- Set up and manage `bash_aliases` for user-friendly command replacements (`batcat`, `nvim`, `eza`)
- Enhance `/group_vars` and `/host_vars` for Docker-related settings and secure access
- Add `docker-host00` and `docker-host01` entries to production and staging inventories
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-11-10 21:37:22 +01:00
|
|
|
loop:
|
|
|
|
- bashrc
|
|
|
|
- bash_aliases
|
2024-10-08 04:13:38 +02:00
|
|
|
become: true
|