zgmarx / ansible-server-authorize

system ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-server-authorize

Key based authentication in SSH is called public key authentication.

By apply this role, you will "Add the content of id_rsa.pub to remote servers(ansible client) authorized_keys".

Then you could login target host without password.

Usage

---
- hosts: localhost
  connection: local
  roles:
    - role: ansible-server-authorize
      usedns: "UseDNS no"
      gssapi: false

About

system ansible

License:Apache License 2.0