mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-05 03:41:30 +01:00
762f3ef58c
- ansible/playbooks/setup.yml can be used to install all dotfiles - a test setup is included in the `dev` folder with arch and debian images |
||
---|---|---|
.. | ||
add_community_general.sh | ||
ansible-hosts | ||
Dockerfile.archlinux | ||
Dockerfile.debian | ||
entrypoint.sh | ||
id_ed25519.pub | ||
Makefile | ||
README.md |
dev
This directory contains some useful dockerfiles/makefiles that can be used to test the deployment ansible playbooks.
make arch # this builds a docker image based on archlinux and runs it
make debian # this builds a docker image based on debian and runs it
Workflow
Start a builder in one shell:
while true; do make; done
check for the docker IP of the started container.
Test the playbook in another shell:
ansible-playbook -v -i ./ansible-hosts playbooks/setup.yml
note: the ip address in ansible-hosts
might have changed from 172.18.0.2
.