Manage a windows infrastructure using ansible.
1.0K
An ansible management container for windows infrastructure.
docker-compose.ymlNOTE: the volumes mount should contain the playbook to be executed. The playbook must have a site.yml as starting point and an inventory file production. For more informations about ansible and windows take a look at http://docs.ansible.com/ansible/intro_windows.html .
version: '2'
services:
manage:
image: alinmear/docker-manage-windows
container_name: manage-windows
volumes:
- ./playbook:/opt/manage-windows
dns:
- 8.8.8.8
dns_search:
- example.com
environment:
- MANAGEWINDOWS_DOMAIN=example.com
- MANAGEWINDOWS_USER=administrator
- MANAGEWINDOWS_PASS=mypass
- MANAGEWINDOWS_CRON='0 0 * * *'
- MANAGEWINDOWS_KDC='kdc'
For this use the deploy playbook.
NOTE: Edit deploy.yml first, to set the domain infos at the vars section.
ansible-playbook deploy.yml -i '<host>,'
/etc/krb5.confContent type
Image
Digest
Size
39.1 MB
Last updated
over 8 years ago
docker pull alinmear/docker-manage-windows