Ansible – 1- Setting up environments

We will setup the ansible workspace in AWS we need to create one  ‘ansible-host’ and two node

If you dont setup AWS vpc you can use(dev-prod) cloudformation template https://github.com/apocoder/aws/tree/master/vpc

Lets create the machines

OS: Ubuntu 16.04

connect to ‘ansible-host’ and install the ansible https://github.com/apocoder/aws/blob/master/ansible/install.sh

ubuntu@ip-200-30-136-143:~$ ansible –version
ansible 2.4.3.0

Perfect! we successfully installed the ansible!

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s