Difference between revisions of "Ansible"

From PKC
Jump to navigation Jump to search
Line 22: Line 22:
==Ansible Tips==
==Ansible Tips==
# Ansible: [https://crunchify.com/ansible-how-to-accept-user-input-using-vars_prompt-and-command-line/ How to accept user input using var_prompt and command line]
# Ansible: [https://crunchify.com/ansible-how-to-accept-user-input-using-vars_prompt-and-command-line/ How to accept user input using var_prompt and command line]
# [https://www.youtube.com/watch?v=kkazBPHc4bk How to Build Docker Images with Ansible on Ubuntu 20.04]


==Ansible Tutorials==
==Ansible Tutorials==

Revision as of 16:10, 2 September 2021

Ansible is an automation tool for IT professionals for managing software in a network environment, particularly designed to apply repetitive changes to a large number of machines. It can be used in conjunction with Terraform.

Installation for Ubuntu

This is the community documentation landing page for Ansible. If you must ask, the answer is Yes, Ansible has a Windows implementation: Ansible for Windows.

Ubuntu Installation

The original documentation on Ansible's Ubuntu installation can be found here: The actual installation commands are:

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install ansible

Installing Kubernetes with Ansible

Ansible is ideal for automating the process of installing Kubernetes software, partially because Kubernetes is a technology for managing replicated computing services in a network cluster. There are many resources that explains how to use Ansible for installing Kubernetes, we provide links to the following tutorials to get started:

  1. Create Kubernetes Cluster Using Ansible Playbook Automation
  2. Installing Kubernetes with Ansible on AWS
  3. Kubernetes setup using Ansible and Vagrant
  4. Video/Kubernetes Cluster Installation using Ansible

Ansible Books

There are a few books on Ansible:

  1. Ansible for DevOps[1]
  2. Ansible for Kubernetes[2]

Ansible Tips

  1. Ansible: How to accept user input using var_prompt and command line
  2. How to Build Docker Images with Ansible on Ubuntu 20.04

Ansible Tutorials

Video/Create docker containers using Ansible

LaCroix, Jay (Jul 31, 2020). Getting started with Ansible Series. local page: Learn Linux TV. 


Valaxy Technologies

{{#ev:youtube |1VhPVu5EK5o }}



References

  1. Geerling, Jeff (August 5, 2020). Ansible for DevOps (2nd ed.). local page: Midwestern Mac, LLC. ISBN 978-0986393426. 
  2. Geerling, Jeff (August 5, 2020). Ansible for Kubernetes. local page: Midwestern Mac, LLC.