2020-12-24 14:27:31 +01:00
|
|
|
# Server-Manager
|
|
|
|
## Description
|
|
|
|
Ansible script to manage servers.
|
|
|
|
|
|
|
|
## Update
|
2020-12-25 11:55:46 +01:00
|
|
|
Follow the best [practices for inventories](https://docs.ansible.com/ansible/2.3/playbooks_best_practices.html) and execute ansible via:
|
|
|
|
|
2020-12-24 14:27:31 +01:00
|
|
|
``bash
|
2020-12-25 11:55:46 +01:00
|
|
|
ansible-playbook -i ~/your-inventories/inventorie/hosts site.yml
|
2020-12-24 14:27:31 +01:00
|
|
|
``
|
|
|
|
|
|
|
|
## Debug
|
|
|
|
### Cleanup docker
|
|
|
|
``bash
|
|
|
|
docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -q);
|
|
|
|
``
|
|
|
|
|
2020-12-25 11:55:46 +01:00
|
|
|
## todo
|
2020-12-24 14:27:31 +01:00
|
|
|
- implement smtp
|
|
|
|
- implement administrator mail
|