mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-14 00:41:06 +01:00
719 B
719 B
Server-Manager
Description
Ansible script to manage servers.
roles
The system use the following role namings:
role prefix | meaning |
---|---|
system- | system changes |
native- | applications which run native on the system |
docker- | applications which run on docker containers on the system |
Update
Follow the best practices for inventories and execute ansible via:
bash ansible-playbook -i ~/your-inventories/inventorie/hosts site.yml
Debug
Cleanup docker
bash docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -q);