How to Install and Configure Ansible on CentOS 7

Your video will begin in 10
73 Views
Published
In this video, we demonstrate how to do How to Install and Configure Ansible on CentOS 7.

Commands used:
yum update
yum install epel-release
yum install ansible

useradd admin
passwd admin

useradd admin
passwd admin

visudo
admin ALL=(ALL) NOPASSWD: ALL

ssh-keygen
ssh-copy-id node.kb.liquidweb.com
vim /home/admin/inventory
node.kb.liquidweb.com
vim /home/admin/install-nginx.yml

ansible-playbook -i /home/admin/inventory /home/admin/install-nginx.yml

-----------------------

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-install-and-configure-ansible/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/, or for more information about our VPS product line, visit: https://www.liquidweb.com/products/vps/ to learn more about our current specials!


Video by: Justin Palmer
Category
Liquid Web
Tags
liquidweb, datacenter, web
Be the first to comment