No Description

Edin Sarajlic 2846897029 Improve readability by breaking up tasks over multiple lines 2 years ago
defaults 940e90c2ea Refactor: don't hardcode ansible client username as 'ansible'. Allow user to define via variable 4 years ago
tasks 2846897029 Improve readability by breaking up tasks over multiple lines 2 years ago
templates 940e90c2ea Refactor: don't hardcode ansible client username as 'ansible'. Allow user to define via variable 4 years ago
README b81dfc0fdf README: fix typo 2 years ago

README

A role for creating an Ansible client

Written for Debian-like systems.

Confirmed to be working on Debian Wheezy, Jessie.

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