Skip to content

Ansible on CoreOS

Step – 01: Build a VM on GCP

Screen Shot 2018-04-13 at 8.29.35 PMScreen Shot 2018-04-13 at 8.29.41 PMScreen Shot 2018-04-13 at 8.29.48 PM

 

Step – 02: FQDN using Cloudflare

Screen Shot 2018-04-13 at 8.58.24 PM.png

 

Step – 03: Connect to Ansible VM

Screen Shot 2018-04-13 at 9.00.06 PM

Step – 04: Download installation Script and install Python 2.7

$ wget -qO- https://raw.githubusercontent.com/judexzhu/Install-Python-on-CoreOs/master/install-python.sh | sudo bash

Step – 05: Setting Up Environmental variables

Screen Shot 2018-04-13 at 8.53.05 PM


$ sudo chmod +x /etc/profile.d/python.sh

$ source /etc/profile.d/python.sh

Step – 06: Verifying installation

Screen Shot 2018-04-13 at 8.54.57 PMScreen Shot 2018-04-13 at 8.55.03 PM

Step – 07: Installing PIP

Screen Shot 2018-04-13 at 9.02.25 PM.png

Step – 08: Installing Ansible using PIP

Screen Shot 2018-04-13 at 8.47.35 PMScreen Shot 2018-04-13 at 8.47.46 PM

Step – 09: Verify Ansible Installation

Screen Shot 2018-04-13 at 8.48.24 PM.png

Shashi View All

A passionate devops and automation engineer

Leave a comment