No Description

Edin Sarajlic ee2c5c4cd7 README: clarify that the password-disable feature is for the Ansible client user only 1 month ago
defaults e62f1cffbe Refactor: factor out sudoers path into its own variable 1 month ago
tasks 2af09c9db5 Refactor: rename files: replacing _ with - for better readability 1 month ago
templates 940e90c2ea Refactor: don't hardcode ansible client username as 'ansible'. Allow user to define via variable 4 years ago
README ee2c5c4cd7 README: clarify that the password-disable feature is for the Ansible client user only 1 month ago

README

An Ansible role for creating an Ansible client.

This role can most likely be used on any Debian-derived distro.

Clone this git repo into your Ansible's role directory, e.g.:

git clone ansible-ansibleclient.git roles/ansibleclient

This role performs the following tasks:
- Creates an ansible user
- Gives ansible user full sudo access (no password prompt)
- Copies nominated SSH pub key into ansible user's authorized_keys

In addition there is a task to disable password-logins for the ansible client user.

Variables to define:
ansibleserver_ssh_pubkey - SSH pub key (text representation) to be copied into ansible client user's authorized_keys