ARTH — Task 14 👨🏻‍💻


1. controller node
3. RedHat
  • open with root
cmd: sudo su - root
  • Move the key (.pem) to the controller node using WinSCP and then to the root.
cmd: sudo mv <key_name>.pem /root
  • Create inventory file.
cmd: vim ip.txt
  • Install ansible.
cmd: sudo amazon-linux-extras install ansible2
  • Write an ansible configuration file.
cmd: vim ansible.cfg
cmd: ansible all --list-hosts
cmd: ansible all -m ping
cmd: vim RedHat.yml
cmd: vim Ubuntu.yml
cmd: vim pb_task14.3.yml
cmd: vim index.html
cmd: ansible-playbook pb_task14.yml





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Yeah! This Bot is Awesome! Disruptive enough?

The Utility of Manual Processes In Programming

HECO Grant Application Guidance

TASK 11.2

Simple Docker Based Virtual Private Server (Notes to myself)

Day 2: Mixing the Logical and Functional

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Saranya. S

Saranya. S

More from Medium

What should I use if I’m new to GIT (CLI vs Git GUI)?

Socket Io With Python FAST API’S

CS373 Spring 2022: William Johnston

Top Python Concepts That You Must Know | WscubeTech