In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use ARA to analyze the operation of Ansible. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Ansible runs an analysis tool (ARA) that integrates seamlessly with Ansible to find the data you need easily and easily.
Ansible is a versatile platform that has become a popular platform for managing servers and server configurations. Today, Ansible is heavily used for deployment and testing through continuous integration (CI).
In the world of automated continuous integration, it is not uncommon for hundreds or even thousands of jobs to run testing, building, compiling, deploying, and so on every day.
Ansible run Analysis (ARA) tool
The Ansible operation generates a large amount of console data, and it is challenging to keep up with the large amount of Ansible output in the CI environment. The Ansible Run Analysis (ARA) tool makes this detailed output readable and makes job status and debugging information more representative. ARA organizes recorded script playbook data so that you can search and find what you are interested in as quickly and easily as possible.
Please note that ARA will not run your script playbook. Instead, it integrates with Ansible as a callback plug-in wherever it is. The callback plug-in can add a new behavior to the Ansible in response to an event. It can perform custom actions based on Ansible events, such as when the host starts execution or when the task is completed.
Compared with AWX and Tower, they are tools to control the entire workflow, with warehouse management, script playbook execution, editing and other functions, the scope of ARA is relatively narrow: record data and provide an intuitive interface. This is a relatively simple program that is easy to install and configure.
Installation
There are two ways to install ARA on your system:
Use the Ansible role hosted on the GitHub account. Clone the repository and:
If the script is executed successfully, you will see:
Note: it selects the IP address from the ansible_default_ipv4 fact collected by Ansible. If you do not collect these fact, replace it with the IP in the main.yml file in the roles/ara/tasks/ folder.
TASK [ara: Display ara UI URL] *
Ok: [localhost] = > {}
"msg": "Access playbook records at http://YOUR_IP:9191""
Ansible-playbook Playbook.yml
ARA is an open source project licensed under the Apache v2 license on GitHub. The installation instructions are in the Quick start section. Documentation and FAQ can be found on readthedocs.io.
What can ARA do?
The following figure shows the launch ARA login page from a browser:
ARA login page
It provides a summary of the task results for each host or each playbook:
ARA displays task summary
It allows you to filter task results by script, play, host, task, or status:
Filter the script to run through the host
With ARA, you can easily view the results you are interested in in the summary view, whether it's a specific host or a specific task:
A detailed summary of each task
ARA supports recording and viewing multiple runs in the same database.
Show collected fact
Thank you for reading! This is the end of this article on "how to use ARA to analyze Ansible running". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.