1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 11:31:30 +01:00
dotfiles/dev/README.md

28 lines
600 B
Markdown
Raw Normal View History

# dev
This directory contains some useful dockerfiles/makefiles that can be used
to test the deployment ansible playbooks.
```bash
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:
```bash
while true; do make; done
```
_check for the docker IP of the started container_.
Test the playbook in another shell:
```bash
ansible-playbook -v -i ./ansible-hosts playbooks/setup.yml
```
note: the ip address in `ansible-hosts` might have changed from `172.18.0.2`.