2023-06-12 19:12:29 +02:00
|
|
|
# Ansible
|
|
|
|
|
2023-06-18 13:33:14 +02:00
|
|
|
|
|
|
|
im Environment nichts angegeben. Hier wäre evtl ansible_ssh_user=Administrator denkbar
|
|
|
|
im Keysore login mit passwort angegeben. aber alles leer gelassen. hier ginge bestimm auch "ohne"
|
|
|
|
|
|
|
|
|
|
|
|
meine `/etc/ansible/hosts` Datei
|
|
|
|
```
|
|
|
|
[lokal_2019]
|
|
|
|
192.168.252.15
|
|
|
|
[lokal_2019:vars]
|
|
|
|
ansible_ssh_user=Administrator
|
|
|
|
ansible_connection=ssh
|
|
|
|
ansible_shell_type=cmd
|
|
|
|
ansible_ssh_common_args=-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
|
|
|
ansible_ssh_retries=3
|
|
|
|
ansible_become_methode=runas
|
|
|
|
[mws_win]
|
|
|
|
mws-mail
|
|
|
|
mws-server-core
|
|
|
|
mws-wawi
|
|
|
|
mws-terminal
|
|
|
|
mws-terminal2
|
|
|
|
mws-dc2
|
|
|
|
mws-mailstore
|
|
|
|
[mws_win:vars]
|
|
|
|
ansible_ssh_user=Administrator
|
|
|
|
ansible_connection=ssh
|
|
|
|
ansible_shell_type=cmd
|
|
|
|
ansible_ssh_common_args=-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
|
|
|
ansible_ssh_retries=3
|
|
|
|
ansible_become_methode=runas
|
|
|
|
```
|