Update README:md: Agent Forwarding

This commit is contained in:
Sebastian Haderecker
2019-10-25 12:37:16 +02:00
parent 8314a7d34a
commit 6224146cde

View File

@ -50,19 +50,13 @@ For other OSes and Distros have a look at the official [Ansible Documentation](h
<a name="agent-forwarding"></a> <a name="agent-forwarding"></a>
## Agent Forwarding ## Agent Forwarding
Agent Forwarding must be enabled in order to let Ansible do its work. If you run the Ansible Playbook remotely on your Ansible Master Server, Agent Forwarding must be enabled in order to let Ansible connect to newly created machines.
- On Linux or macOS: - On Linux or macOS:
- Create or edit `~/.ssh/config` - Create or edit `~/.ssh/config`
- If you run the Ansible Playbook remotely on your Ansible Master Server:
``` ```
Host ANSIBLE_MASTER_IP Host ANSIBLE_MASTER_IP
ForwardAgent yes ForwardAgent yes
``` ```
- If you run the Ansible Playbook locally, enable it for all hosts, as this includes newly generated T-Pots:
```
Host *
ForwardAgent yes
```
- On Windows using Putty for connecting to your Ansible Master Server: - On Windows using Putty for connecting to your Ansible Master Server:
![Putty Agent Forwarding](doc/putty_agent_forwarding.png) ![Putty Agent Forwarding](doc/putty_agent_forwarding.png)