This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tech:ansible:start [2021/07/05 17:35] rk4n3 created |
tech:ansible:start [2021/07/13 02:48] (current) rk4n3 |
||
---|---|---|---|
Line 4: | Line 4: | ||
<code> | <code> | ||
[ssh_connection] | [ssh_connection] | ||
- | ssh_args = -o ServerAliveInterval=n \\ | + | ssh_args = -o ServerAliveInterval=n |
</code> | </code> | ||
- | //Links: [[tech:start|tech]] ... [[:start|main]]// \\ | + | Append to ''/etc/ssh/sshd_config'' on controlled hosts, to allow ansible root SSH connection: |
+ | <code> | ||
+ | Match Address 192.168.0.25,192.168.0.0/24 | ||
+ | PermitRootLogin prohibit-password | ||
+ | </code> | ||
+ | //Links: [[tech:start|tech]] ... [[:start|main]]// \\ | ||