Ansible and how it works
- Get link
- X
- Other Apps
By
Lakshmi
-
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.
Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time.
It uses no agents and no additional custom security infrastructure, so it's easy to deploy - and most importantly, it uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to describe your automation jobs in a way that approaches plain English.
EFFICIENT ARCHITECTURE
Ansible works by connecting to your nodes and pushing out small programs, called "Ansible modules" to them. These programs are written to be resource models of the desired state of the system. Ansible then executes these modules (over SSH by default), and removes them when finished.
Your library of modules can reside on any machine, and there are no servers, daemons, or databases required. Typically you'll work with your favorite terminal program, a text editor, and probably a version control system to keep track of changes to your content.
SSH KEYS ARE YOUR FRIENDS
Passwords are supported, but SSH keys with ssh-agent are one of the best ways to use Ansible. Though if you want to use Kerberos, that's good too. Lots of options! Root logins are not required, you can login as any user, and then su or sudo to any user.
Ansible's "authorized_key" module is a great way to use ansible to control what machines can access what hosts. Other options, like kerberos or identity management systems, can also be used.
MANAGE YOUR INVENTORY IN SIMPLE TEXT FILES
By default, Ansible represents what machines it manages using a very simple INI file that puts all of your managed machines in groups of your own choosing.
To add new machines, there is no additional SSL signing server involved, so there's never any hassle deciding why a particular machine didn’t get linked up due to obscure NTP or DNS issues.
If there's another source of truth in your infrastructure, Ansible can also plugin to that, such as drawing inventory, group, and variable information from sources like EC2, Rackspace, OpenStack, and more.
Once inventory hosts are listed, variables can be assigned to them in simple text files (in a subdirectory called 'group_vars/' or 'host_vars/') or directly in the inventory file.
Once inventory hosts are listed, variables can be assigned to them in simple text files (in a subdirectory called 'group_vars/' or 'host_vars/') or directly in the inventory file.
Or, as already mentioned, use a dynamic inventory to pull your inventory from data sources like EC2, Rackspace, or OpenStack.
- Get link
- X
- Other Apps
Thanks for the interesting article, It really helped to me and also others. keep continue your good work.. I have 100 links on Linux, Ansible, Artificial Intelligence, Machine Learning, ChatGPT, Kubernetes, please make use of it and support further.....
ReplyDeleteDeep Learning in Machine Learning
Reinforcement Learning in Machine Learning
Supervised Learning vs Unsupervised Learning
Unsupervised Learning in Machine Learning
Supervised Learning in Machine Learning
Types of Machine Learning algorithms
What is Machine Learning and how does it work?
Artificial Intelligence Projects
Artificial Intelligence Roadmap 2023
How to Become an Artificial Intelligence Engineer
AI and the Future of Humanity Opportunities and Threats
AI in Education Enhancing Learning and Teaching
How AI is Changing the Landscape of Business and Marketing
AI and the Environment Opportunities and Challenges
The Future of AI and Its Effect on Society
Artificial Intelligence and the Future of Work
The Role of AI in Healthcare and Medicine
The Pros and Cons of AI-Powered Decision Making
Very interesting Blog Content.Thanks for sharing.
ReplyDeleteDevOps Training
DevOps Online Training
DevOps Online Training in Hyderabad
DevOps Online Training institute
DevOps Training in Hyderabad
Interesting Article content.Thanks for sharing this information.
ReplyDeleteDevOps Training
DevOps Online Training
DevOps Online Training in Hyderabad
DevOps Online Training institute
DevOps Training in Hyderabad
DevOps Training institute in Ameerpet
DevOps Project Training
DevOps Training in Ameerpet
DevOps Training institute in Hyderabad
DevOps Course in Hyderabad
Great Blog Post. Thanks for sharing Information.
ReplyDeleteAzure DevOps Training Online
Azure DevOps Online Training
Azure DevOps Online Training in Hyderabad
Azure DevOps Course Online
Microsoft Azure DevOps Online Training
Azure DevOps Training in Hyderabad
Azure DevOps Training
Azure DevOps Training in Ameerpet
Thankyou for the Great Post.
ReplyDeleteDevOps Training
DevOps Online Training
DevOps Online Training in Hyderabad
DevOps Online Training institute
DevOps Training in Hyderabad
Nice Article Content. Thanks for sharing.
ReplyDeleteAzure DevOps Training Online
Azure DevOps Online Training
Azure DevOps Online Training in Hyderabad
Docker Kubernetes Training
Azure DevOps Course Online
Microsoft Azure DevOps Online Training
Azure DevOps Training in Hyderabad
Azure DevOps Training
Azure DevOps Training in Ameerpet