No Description

Edin Sarajlic 2e160be3a1 README: specify that this git repo is for an Ansible role 4 days ago
defaults e62f1cffbe Refactor: factor out sudoers path into its own variable 5 days ago
tasks 2af09c9db5 Refactor: rename files: replacing _ with - for better readability 5 days ago
templates 940e90c2ea Refactor: don't hardcode ansible client username as 'ansible'. Allow user to define via variable 4 years ago
README 2e160be3a1 README: specify that this git repo is for an Ansible role 4 days ago

README

An Ansible role for creating an Ansible client

This role can most probably 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.

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