September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module manages an SSH authorized key of a specific user account in a Linux host. Using a playbook, we will set up a new authorized key:
- name: add a new authorise SSH key to the user install authorized_key: user: install state: present key: "{{ lookup('file', '/home/install /.ssh/id_rsa.pub') }}"
This module does support many special return values. They can be used like the others to collect key data about the hosts.
Read now
Unlock full access