Whether the latest incarnations of generative AI will live up to their seemingly great promise remains to be seen. This does not always happen with new technology, but the torrent of AI advancements is promising disruption across nearly every industry. Instead of posing a threat to human roles, AI now aims to make tasks easier, faster and more efficient. “This is precisely what we have been trying to achieve with Ansible and automation through generative AI models,” according to Richard Henshall, senior manager of Ansible Product Management at Red Hat. “At the end of the day, AI is another form of automation, and while we do not have thinking computers yet, we do have highly advanced and powerful models that can automate access to data.”
Case for Integration
Picture two scenarios: Consider a user who is already skilled in using Ansible. Their limitation is often the amount of time it takes to find the right way to do something, as Ansible is very broad and encompasses many different technologies. The user may be an expert in one or a few of these technologies, but not all of them. In this case, AI can act as an assistant, helping the user find answers more quickly and efficiently. For example, if they want to automate something in AWS, the AI can help them find the necessary resources, and the user can then tweak and curate the automation to create a final product that can be distributed to a large number of people. “This essentially superpowers the individual user,” said Henshall.
Another type of user may not know how to automate, but they do know how to use a specific technology. “They may not automate that technology because it’s difficult for them to learn something new,” Henshall added. “AI capabilities can help these users get started with automation more quickly, enabling more people to write automation and manage both new and existing technologies.”
In both cases, the purpose of automation is to help users solve problems. AI serves as an accelerator for these capabilities. “Once users have created automation, the AI model can be trained on the organization’s DNA, including best practices, security posture, policies and enforcement points,” Henshall asserted. This allows the AI to become a co-worker, empowering users and helping them maintain and manage their technologies more effectively.
“As the AI model learns from the organization and its users, it can help train junior engineers, who will eventually become senior engineers, continuing the cycle of knowledge transfer and improvement,” Henshall predicted. “In this way, generative AI technologies can be integrated into the Ansible ecosystem, benefiting users and organizations in a wide range of contexts.”
Solving Problems With AI
As the DevOps leader of cloud testing organization LambdaTest, Shahid Ali Khan has led the company through open-source engagements and investments in next-generation automation solutions, addressing key challenges with Ansible. “We are dealing with a very large scale inventory in terms of geologically separated data centers and multiple OS. Managing this inventory on the basis of these characteristics becomes a hefty task and requires continuous efforts from the team,” he said. “With AI, Ansible can analyze the inventory and automatically group the hosts based on their characteristics, such as their operating system or their geographical location. This makes it easier to manage the inventory and apply changes across multiple hosts at once.”
Khan also highlights the issue of auto-healing in the industry. “Auto-healing has always been a problem, and while tools in the market have somewhat addressed it, they still require defining errors and categorizing fixes,” he said. “With current AI technology in place, Ansible can detect and automatically fix issues on the basis of historic data in the inventory without the need for manual intervention, reducing the risk of human error.”
“Inventory forecasting has always been a pain in order to calculate how much inventory we will need based on usage and on what fronts like location and OS we need to scale,” Khan shared. “AI here with Ansible can help detect the usage and forecast based on exact demand.”
Benefits and Challenges for the Ansible Community
In the Ansible community, which consists of people who want to solve problems, the benefits and challenges of AI-driven automation are similar to those faced by individuals in their jobs, just on a different scale.
Community members want to see how generative AI can help them accomplish more tasks, whether or not they are part of an enterprise. Having access to a community model allows them to contribute to training the AI, ensuring its usefulness, as they may eventually work in an enterprise setting during their careers. “The access to community services enables them to take advantage of the benefits offered by AI-driven automation,” Henshall remarked. “It is a mutually beneficial relationship between the community and AI-driven automation.”