diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-08-13 14:06:08 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-08-13 14:06:08 +0200 |
| commit | d1a11a71daa6898595f5dcebd9cb418e18d2559a (patch) | |
| tree | 875713ec621c7e785ffe3b681c9615d30106b931 /README.md | |
| parent | 8a84f4c080ad4692eaf10a0adc131f8e754078ef (diff) | |
| download | ssh_authorize_host-d1a11a71daa6898595f5dcebd9cb418e18d2559a.tar.gz ssh_authorize_host-d1a11a71daa6898595f5dcebd9cb418e18d2559a.zip | |
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -1,6 +1,15 @@ -# Ansible Role Template +# Ansible authorize ssh host key role -Description of what this role does. +Role to authorize the host key of `ssh_hostname`. + +The role tries to authorize the host key globally at `/etc/ssh/ssh_known_hosts` or +`~/.ssh/known_hosts` as fallback. + +## Variables + +* `ssh_hostname` the host to authorize +* `use_host_ip_addresses` also authorize the IP addresses reported from DNS +* ## Example Playbook @@ -8,10 +17,6 @@ Description of what this role does. --- - hosts: host-pattern roles: - - this-role + - role: ssh_authorize_host + ssh_hostname: example.org ``` - -## License - -This ansible role is licensed under the term of the GPLv3. -For further information see the `COPYING` file or [https://www.gnu.org/licenses/gpl-3.0.en.html](https://www.gnu.org/licenses/gpl-3.0.en.html). |
