<commit_before>---
layout: post
title: Ansible notes
image: /img/ansible.png
subtitle: Initial steps installing in Ubuntu
tags: [Ansible, EVE-NG]
---

Install steps, dependencies and notes.

## Install steps for Ansible
The below was completed on a bare metal server install of EVE-NG. EVE-NG is built upon Ubuntu 16.04 so all the below is pretty standard Linux/Ansible configuration.

By completing the below you are in effect creating an Ansible control node. Ansible then communcates with devices over SSH (no agent is needed on the managed devices). Below we are also setting netconf on Juniper devices to leverage the native device API.

[Ansilbe Tower](https://www.ansible.com/tower) exisits where an organisation would like to pay for a GUI based controller for many playbooks and users.

An open source GUI controller also exists called [Semaphore](https://github.com/ansible-semaphore/semaphore). 

Create the Ansible user while logged in as root and give them sudo access:

	adduser ansible

	usermod -aG sudo ansible
<commit_msg>Update 2017-09-04-notes.md<commit_after>---
layout: post
title: Ansible notes
image: /img/ansible.png
subtitle: Initial steps installing in Ubuntu
tags: [Ansible, EVE-NG]
---

## Getting started with Ansible

The below was completed on a bare metal server install of EVE-NG. EVE-NG is built upon Ubuntu 16.04 so all the below is pretty standard Linux/Ansible configuration.

By completing the below you are in effect creating an Ansible control node. Ansible then communcates with devices over SSH (no agent is needed on the managed devices). Below we are also setting netconf on Juniper devices to leverage the native device API.

[Ansilbe Tower](https://www.ansible.com/tower) exisits where an organisation would like to pay for a GUI based controller for many playbooks and users.

An open source GUI controller also exists called [Semaphore](https://github.com/ansible-semaphore/semaphore). 

## Install steps, dependencies and notes.

Create the Ansible user while logged in as root and give them sudo access:

	adduser ansible

	usermod -aG sudo ansible

{'fraction_non_alphanumeric': 0.06095238095238095, 'fraction_numerical': 0.007619047619047619, 'mean_word_length': 4.35969387755102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1521524', 'n_tokens_mistral': 622, 'n_tokens_neox': 565, 'n_words': 291}