This document provides an overview and user guide for AnsibleWorks AWX, a web-based user interface and REST API for Ansible. It describes AWX's key features like true "push button" automation, role-based access control, and a powerful REST API. The document also covers AWX licensing and support, system requirements, release notes, known issues and the release history.
AWX is a web-based user interface, REST API, and task engine built on top of Ansible. It allows users to run Ansible playbooks from a source code repository on nodes using a GUI or API. AWX provides features like real-time playbook output, push button deployment, authentication methods, projects/jobs/workflows, security, notifications, logging, and scheduling. It uses a full RBAC security model and can be installed on Docker, Kubernetes, or OpenShift with default containers for its components like Postgres, RabbitMQ, and Memcached.
Ansible Tower provides a web-based management GUI for Ansible. We have outlined top features of Ansible Tower and have covered the installation process.
This document discusses repetitive system administration tasks and proposes Ansible as a solution. It describes how Ansible works using agentless SSH to automate tasks like software installation, configuration, and maintenance across multiple servers. Key aspects covered include Ansible's inventory, modules, playbooks, templates, variables, roles and Docker integration. Ansible Tower is also introduced as a GUI tool for running Ansible jobs. The document recommends Ansible for anyone doing the same tasks across multiple servers to gain efficiencies over manual processes.
This document provides an overview of DevOps with Swapnil Jain. It introduces Swapnil and his background, then covers an agenda on Ansible including an introduction, use cases, architecture, modules demo, playbook demo, Ansible Tower features, and Tower demo. Ansible is introduced as an open source configuration management and orchestration tool that can automate and standardize remote host configuration. Common use cases include provisioning, configuration management, application deployment, continuous delivery, security and compliance, and orchestration.
Ansible is tool for Configuration Management. The big difference to Chef and Puppet is, that Ansible doesn't need a Master and doesn't need a special client on the servers. It works completely via SSH and the configuration is done in Yaml.
These slides give a short introduction & motivation for Ansible.
Introduces Ansible as DevOps favorite choice for Configuration Management and Server Provisioning. Enables audience to get started with using Ansible. Developed in Python which only needs YAML syntax knowledge to automate using this tool.
Using GitHub Actions to Deploy your Workloads to AzureKasun Kodagoda
This presentation provides an introduction to GitHub Actions and the core concepts of GitHub Actions. Then dives into details about how you can use GitHub Actions for Azure to deploy your workloads to Azure Cloud Platform.
AWX is a web-based user interface, REST API, and task engine built on top of Ansible. It allows users to run Ansible playbooks from a source code repository on nodes using a GUI or API. AWX provides features like real-time playbook output, push button deployment, authentication methods, projects/jobs/workflows, security, notifications, logging, and scheduling. It uses a full RBAC security model and can be installed on Docker, Kubernetes, or OpenShift with default containers for its components like Postgres, RabbitMQ, and Memcached.
Ansible Tower provides a web-based management GUI for Ansible. We have outlined top features of Ansible Tower and have covered the installation process.
This document discusses repetitive system administration tasks and proposes Ansible as a solution. It describes how Ansible works using agentless SSH to automate tasks like software installation, configuration, and maintenance across multiple servers. Key aspects covered include Ansible's inventory, modules, playbooks, templates, variables, roles and Docker integration. Ansible Tower is also introduced as a GUI tool for running Ansible jobs. The document recommends Ansible for anyone doing the same tasks across multiple servers to gain efficiencies over manual processes.
This document provides an overview of DevOps with Swapnil Jain. It introduces Swapnil and his background, then covers an agenda on Ansible including an introduction, use cases, architecture, modules demo, playbook demo, Ansible Tower features, and Tower demo. Ansible is introduced as an open source configuration management and orchestration tool that can automate and standardize remote host configuration. Common use cases include provisioning, configuration management, application deployment, continuous delivery, security and compliance, and orchestration.
Ansible is tool for Configuration Management. The big difference to Chef and Puppet is, that Ansible doesn't need a Master and doesn't need a special client on the servers. It works completely via SSH and the configuration is done in Yaml.
These slides give a short introduction & motivation for Ansible.
Introduces Ansible as DevOps favorite choice for Configuration Management and Server Provisioning. Enables audience to get started with using Ansible. Developed in Python which only needs YAML syntax knowledge to automate using this tool.
Using GitHub Actions to Deploy your Workloads to AzureKasun Kodagoda
This presentation provides an introduction to GitHub Actions and the core concepts of GitHub Actions. Then dives into details about how you can use GitHub Actions for Azure to deploy your workloads to Azure Cloud Platform.
This document contains information about the sys/net/sec admin Yashar Esmaildokht, including their contact information and websites. It then provides a brief overview of the open-source automation tool Ansible, describing its main features and uses for configuration management, application deployment, and cloud provisioning. Requirements and versions of Ansible are listed. The document concludes with examples of Ansible concepts including playbooks, tasks, modules, variables, and host inventory organization.
Ansible Tower is a web-based GUI tool, used for managing infrastructural configurations. It is Ansible at a more enterprise level. It is useful for centralizing infrastructure from a user interface with role-based access control(RBAC), job scheduling, and graphical inventory management.
Ansible is an open source IT automation tool that is agentless, uses YAML files for configuration, and utilizes SSH to connect to remote machines. It is used for cloud provisioning, configuration management, deployment, and orchestration tasks. Ansible's structure involves inventory files that define groups of hosts and playbooks that define deployment steps, tasks, variables, and modules to run on hosts. Playbooks are written in YAML and can be run against inventory hosts. Core modules integrate with services like EC2 and Docker while extra modules provide additional service features. Ansible Tower provides a dashboard for managing provisioning at scale with logs, scheduling, and inventory management.
Ansible is simple open source IT engine which automates application deployment,intra service orchestration,cloud provisioning and many other IT tools.we will discuss what is ansible ,its feature ,architecture,writing ansible playbook,ansible role and ansible vs chef.
This document provides an introduction and overview of Ansible, including its main features, installation process, inventory file configuration, ad-hoc command execution, playbook usage, roles, variables, and conditions. Ansible is an automation tool that can configure systems, deploy software, and orchestrate more complex IT workloads. It uses SSH and does not require installing any agents on remote systems. Playbooks allow defining entire deployment processes as code for multi-machine orchestration.
Slide deck of the presentation done at the Hactoberfest 2020 Singapore event. The talk and demo showed GitHub Actions in practice with examples of Github Superlinter, SonarCloud integration and CI CD to Azure Kubernetes service.
The recording of the session is available on YouTube
https://youtu.be/sFvCj62wmWU?t=6732&WT.mc_id=AZ-MVP-5003170
Github Actions enables you to create custom software development lifecycle workflows directly in your Github repository. These workflows are made out of different tasks so-called actions that can be run automatically on certain events.
Rohit Sharma will present on Ansible playbooks. The presentation will cover an overview of Ansible, its features, architecture, and a comparison to Puppet and Chef. It will include a demonstration of Ansible. Attendees are asked to be punctual, provide constructive feedback, keep devices on silent mode, and avoid disturbances during the session.
The document discusses Splunk's HTTP Event Collector which allows sending events directly to Splunk from various sources using a token-based JSON API. It can be enabled and used to send events by creating and including an authentication token in requests. Events are sent via HTTP POST and the collector is highly performant, scalable, and available. It provides libraries for common languages and can be run on indexers or dedicated collector instances.
This document discusses GitLab Continuous Integration (GitLab CI/CD). It defines continuous integration, continuous delivery, and continuous deployment. It explains that GitLab CI/CD uses pipelines made up of stages and jobs to test, build, and deploy code. Pipelines are configured using a YAML file. Jobs run on GitLab runners, which can execute jobs locally or using Docker. Benefits of GitLab CI/CD include integrated pipelines, Docker/Kubernetes integration, and not requiring plugins. The downside is that it is only available within GitLab.
IT Infrastructure Automation with AnsibleDio Pratama
This document discusses automating IT infrastructure using Ansible. It provides an overview of Ansible and how it can be used to manage devices programmatically through infrastructure as code. Specific examples are given of how Ansible can be used to automate tasks like server deployment, configuration changes, backups and application deployments. The benefits of automation through tools like Ansible are reducing repetitive manual tasks and enabling infrastructure to self-heal through integration with monitoring systems.
Ansible is an automation tool that can provision, configure, and deploy applications. It uses human-readable YAML files called playbooks to define automation tasks. Playbooks contain modules that specify steps like installing packages, copying files, and starting services. Ansible Tower provides a GUI and API for securely managing Ansible automation at scale. Ansible supports both Linux and Windows environments through its agentless design and built-in modules.
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
This document provides an overview of Apache NiFi and data flow fundamentals. It begins with an introduction to Apache NiFi and outlines the agenda. It then discusses data flow and streaming fundamentals, including challenges in moving data effectively. The document introduces Apache NiFi's architecture and capabilities for addressing these challenges. It also previews a live demo of NiFi and discusses the NiFi community.
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...Simplilearn
This presentation on Ansible will help you understand why Ansible is needed, what is Ansible, Ansible as a pull configuration tool, Ansible architecture, Ansible playbook, Ansible inventory, how Ansible works, Ansible tower and you will also see a use case on how Hootsuite used Ansible. Increasing team productivity and improving business outcomes have now become easy with Ansible. Ansible is a simple, popular, agent-free tool in the automation domain. Ansible is a tool that allows you to create and control three key areas within the operations environment of software development lifecycle. The first one is IT automation which allows you to write instructions to automate the IT professional's work that you would typically do manually in the past, the second is configuration management which allows you to maintain consistency of all systems in the infrastructure and the third is automatic deployment which allows you to deploy applications automatically on a variety of environments. Now let us get started and understand Ansible and it's architecture.
Below topics are explained in this Ansible presentation:
1. Why Ansible?
2. What is Ansible?
3. Ansible - Pull configuration tool
4. Ansible architecture
5. Playbook
6. Inventory
7. Working of Ansible
8. Ansible tower
9. Use case by Hootsuite
Simplilearn's DevOps Certification Training Course will prepare you for a career in DevOps, the fast-growing field that bridges the gap between software developers and operations. You’ll become en expert in the principles of continuous development and deployment, automation of configuration management, inter-team collaboration and IT service agility, using modern DevOps tools such as Git, Docker, Jenkins, Puppet and Nagios. DevOps jobs are highly paid and in great demand, so start on your path today.
Who should take this course?
DevOps career opportunities are thriving worldwide. DevOps was featured as one of the 11 best jobs in America for 2017, according to CBS News, and data from Payscale.com shows that DevOps Managers earn as much as $122,234 per year, with DevOps engineers making as much as $151,461. DevOps jobs are the third-highest tech role ranked by employer demand on Indeed.com but have the second-highest talent deficit.
1. This DevOps training course will be of benefit the following professional roles:
2. Software Developers
3. Technical Project Managers
4. Architects
5. Operations Support
6. Deployment engineers
7. IT managers
8. Development managers
Learn more at: https://www.simplilearn.com/
The FIRE Forum will take place on September 27th, 2016 in Bratislava, Slovakia. It will gather experts from various domains such as 5G, IoT, creative industries, and more to discuss how experimental testbeds can respond to upcoming requirements in areas like 5G, IoT, automotive, energy, e-health, and smart factories. The forum will focus on shaping the next generation of Internet experimentation and registration is free and open to all innovative future Internet players.
Este documento describe un negocio de marketing de afiliados en el que las personas pueden ganar dinero promocionando productos, eventos, servicios y sitios web viendo 20 páginas web por día. Ofrece cinco formas de ganar ingresos: comisiones, ingresos por ventas, bono especial, bono de incentivo y surfing.
This document contains information about the sys/net/sec admin Yashar Esmaildokht, including their contact information and websites. It then provides a brief overview of the open-source automation tool Ansible, describing its main features and uses for configuration management, application deployment, and cloud provisioning. Requirements and versions of Ansible are listed. The document concludes with examples of Ansible concepts including playbooks, tasks, modules, variables, and host inventory organization.
Ansible Tower is a web-based GUI tool, used for managing infrastructural configurations. It is Ansible at a more enterprise level. It is useful for centralizing infrastructure from a user interface with role-based access control(RBAC), job scheduling, and graphical inventory management.
Ansible is an open source IT automation tool that is agentless, uses YAML files for configuration, and utilizes SSH to connect to remote machines. It is used for cloud provisioning, configuration management, deployment, and orchestration tasks. Ansible's structure involves inventory files that define groups of hosts and playbooks that define deployment steps, tasks, variables, and modules to run on hosts. Playbooks are written in YAML and can be run against inventory hosts. Core modules integrate with services like EC2 and Docker while extra modules provide additional service features. Ansible Tower provides a dashboard for managing provisioning at scale with logs, scheduling, and inventory management.
Ansible is simple open source IT engine which automates application deployment,intra service orchestration,cloud provisioning and many other IT tools.we will discuss what is ansible ,its feature ,architecture,writing ansible playbook,ansible role and ansible vs chef.
This document provides an introduction and overview of Ansible, including its main features, installation process, inventory file configuration, ad-hoc command execution, playbook usage, roles, variables, and conditions. Ansible is an automation tool that can configure systems, deploy software, and orchestrate more complex IT workloads. It uses SSH and does not require installing any agents on remote systems. Playbooks allow defining entire deployment processes as code for multi-machine orchestration.
Slide deck of the presentation done at the Hactoberfest 2020 Singapore event. The talk and demo showed GitHub Actions in practice with examples of Github Superlinter, SonarCloud integration and CI CD to Azure Kubernetes service.
The recording of the session is available on YouTube
https://youtu.be/sFvCj62wmWU?t=6732&WT.mc_id=AZ-MVP-5003170
Github Actions enables you to create custom software development lifecycle workflows directly in your Github repository. These workflows are made out of different tasks so-called actions that can be run automatically on certain events.
Rohit Sharma will present on Ansible playbooks. The presentation will cover an overview of Ansible, its features, architecture, and a comparison to Puppet and Chef. It will include a demonstration of Ansible. Attendees are asked to be punctual, provide constructive feedback, keep devices on silent mode, and avoid disturbances during the session.
The document discusses Splunk's HTTP Event Collector which allows sending events directly to Splunk from various sources using a token-based JSON API. It can be enabled and used to send events by creating and including an authentication token in requests. Events are sent via HTTP POST and the collector is highly performant, scalable, and available. It provides libraries for common languages and can be run on indexers or dedicated collector instances.
This document discusses GitLab Continuous Integration (GitLab CI/CD). It defines continuous integration, continuous delivery, and continuous deployment. It explains that GitLab CI/CD uses pipelines made up of stages and jobs to test, build, and deploy code. Pipelines are configured using a YAML file. Jobs run on GitLab runners, which can execute jobs locally or using Docker. Benefits of GitLab CI/CD include integrated pipelines, Docker/Kubernetes integration, and not requiring plugins. The downside is that it is only available within GitLab.
IT Infrastructure Automation with AnsibleDio Pratama
This document discusses automating IT infrastructure using Ansible. It provides an overview of Ansible and how it can be used to manage devices programmatically through infrastructure as code. Specific examples are given of how Ansible can be used to automate tasks like server deployment, configuration changes, backups and application deployments. The benefits of automation through tools like Ansible are reducing repetitive manual tasks and enabling infrastructure to self-heal through integration with monitoring systems.
Ansible is an automation tool that can provision, configure, and deploy applications. It uses human-readable YAML files called playbooks to define automation tasks. Playbooks contain modules that specify steps like installing packages, copying files, and starting services. Ansible Tower provides a GUI and API for securely managing Ansible automation at scale. Ansible supports both Linux and Windows environments through its agentless design and built-in modules.
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
This document provides an overview of Apache NiFi and data flow fundamentals. It begins with an introduction to Apache NiFi and outlines the agenda. It then discusses data flow and streaming fundamentals, including challenges in moving data effectively. The document introduces Apache NiFi's architecture and capabilities for addressing these challenges. It also previews a live demo of NiFi and discusses the NiFi community.
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...Simplilearn
This presentation on Ansible will help you understand why Ansible is needed, what is Ansible, Ansible as a pull configuration tool, Ansible architecture, Ansible playbook, Ansible inventory, how Ansible works, Ansible tower and you will also see a use case on how Hootsuite used Ansible. Increasing team productivity and improving business outcomes have now become easy with Ansible. Ansible is a simple, popular, agent-free tool in the automation domain. Ansible is a tool that allows you to create and control three key areas within the operations environment of software development lifecycle. The first one is IT automation which allows you to write instructions to automate the IT professional's work that you would typically do manually in the past, the second is configuration management which allows you to maintain consistency of all systems in the infrastructure and the third is automatic deployment which allows you to deploy applications automatically on a variety of environments. Now let us get started and understand Ansible and it's architecture.
Below topics are explained in this Ansible presentation:
1. Why Ansible?
2. What is Ansible?
3. Ansible - Pull configuration tool
4. Ansible architecture
5. Playbook
6. Inventory
7. Working of Ansible
8. Ansible tower
9. Use case by Hootsuite
Simplilearn's DevOps Certification Training Course will prepare you for a career in DevOps, the fast-growing field that bridges the gap between software developers and operations. You’ll become en expert in the principles of continuous development and deployment, automation of configuration management, inter-team collaboration and IT service agility, using modern DevOps tools such as Git, Docker, Jenkins, Puppet and Nagios. DevOps jobs are highly paid and in great demand, so start on your path today.
Who should take this course?
DevOps career opportunities are thriving worldwide. DevOps was featured as one of the 11 best jobs in America for 2017, according to CBS News, and data from Payscale.com shows that DevOps Managers earn as much as $122,234 per year, with DevOps engineers making as much as $151,461. DevOps jobs are the third-highest tech role ranked by employer demand on Indeed.com but have the second-highest talent deficit.
1. This DevOps training course will be of benefit the following professional roles:
2. Software Developers
3. Technical Project Managers
4. Architects
5. Operations Support
6. Deployment engineers
7. IT managers
8. Development managers
Learn more at: https://www.simplilearn.com/
The FIRE Forum will take place on September 27th, 2016 in Bratislava, Slovakia. It will gather experts from various domains such as 5G, IoT, creative industries, and more to discuss how experimental testbeds can respond to upcoming requirements in areas like 5G, IoT, automotive, energy, e-health, and smart factories. The forum will focus on shaping the next generation of Internet experimentation and registration is free and open to all innovative future Internet players.
Este documento describe un negocio de marketing de afiliados en el que las personas pueden ganar dinero promocionando productos, eventos, servicios y sitios web viendo 20 páginas web por día. Ofrece cinco formas de ganar ingresos: comisiones, ingresos por ventas, bono especial, bono de incentivo y surfing.
This lesson plan is for an 8th standard Biology class on controlling pests in plants. It outlines the learning objectives which are for students to develop factual, conceptual, and procedural knowledge about different pests that affect plants and how to control them. The lesson involves students observing pictures of pests, discussing in groups natural and chemical methods of pest control, and presenting on the impacts of chemical pesticides. Formative assessment questions review pest types, control methods, and effects of chemical fertilizers.
The document discusses plans for a documentary on the controversial topic of feminism. It notes that the topic could increase exposure but may offend some or face criticism from feminists. It considers including interviews with people who have experienced the effects of feminism, both positive and negative, as well as following others' journeys with the topic for comparison. Concerns are raised about maintaining objectivity on the sensitive subject and finding interesting visuals to accompany the discussion.
Este documento contiene 18 ejercicios sobre tipos de cambio LIBOR, LIBID, LIMEAN, cotizaciones de divisas como el euro, dólar, yen, franco suizo, real brasileño y cambios directos e indirectos entre estas divisas. Los ejercicios piden calcular tipos de interés, cotizaciones, tipos de cambio cruzados, costes de transacciones de divisas para clientes y beneficios para entidades financieras.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos a menudo y tomar aire fresco para evitar enfermarse. El documento luego sugiere mantener altos niveles de alcohol para mantener alejados los gérmenes, aunque esto claramente no es un consejo médico válido.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos con frecuencia y tomar aire fresco para evitar enfermarse. Sin embargo, el documento también sugiere que mantener altos niveles de alcohol mata los gérmenes y previene las enfermedades.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos a menudo y tomar aire fresco para evitar enfermarse. El documento luego sugiere mantener altos niveles de alcohol para mantener alejados los gérmenes, aunque esto claramente no es un consejo médico válido.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos con frecuencia y tomar aire fresco para evitar enfermarse. El documento luego sugiere de manera humorística que mantener altos niveles de alcohol mata los gérmenes y previene enfermedades.
This document outlines the home marketing strategy of Better Homes and Gardens Real Estate Gary Greene. They will use targeted online and offline marketing strategies to attract qualified buyers to the home. This includes promoting the home on their website and various real estate sites, using yard signs, holding open houses, and networking with other agents. Their goal is to negotiate the best sale price for the home and handle all aspects of the transaction process.
The document proposes adding on-demand consulting services to complement traditional language teaching, marketed as a premium offering. Consulting would include onsite support for business presentations, travel preparation, and candidate evaluations, as well as offsite services like translations, website management, social media assistance, and telephone conversation practice. The customized consulting services aim to provide a unique value proposition not offered by many competitors.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos con frecuencia y tomar aire fresco para evitar enfermarse. El documento luego sugiere de manera humorística que mantener altos niveles de alcohol mata los gérmenes y previene enfermedades.
Los especialistas recomiendan comer adecuadamente con frutas y vegetales, tomar vitaminas como la C, hacer ejercicio y caminar al menos 30 minutos diarios, lavarse las manos con frecuencia y tomar aire fresco para evitar enfermarse. Sin embargo, el documento también sugiere que mantener altos niveles de alcohol mata los gérmenes y previene las enfermedades.
The district council faces budget cuts and aims to save £142,000 annually by merging street cleansing and grounds maintenance into a single "Clean & Green" service with two area teams. This would establish new core service standards and improve services for the public while scaling back support for some sports clubs. The council is seeking public input on proposals like increasing maintenance of parks, cemeteries and town centers while reducing maintenance of sports facilities like bowling greens. Increased enforcement of littering and dog fouling is also proposed.
This document contains a presentation by Group 4 on the topic of letters and emails. It includes 23 multiple choice comprehension questions about various letters and the answers to each question. The group members are listed as Brainandika A.P., Deviana R., Ibnu W.N., M. A. Basith, and Waidatin N.A. The presentation defines what a letter is and compares it to email. It then provides the questions, passages of text from sample letters, and explanations of the answers.
This document recommends expanding federally qualified health center (FQHC) services in greater Detroit to improve access to quality healthcare. It identifies several high need areas that currently lack FQHC sites based on factors like poverty rates, uninsured populations, and health status indicators. New FQHC sites are recommended in specific zip codes to help address gaps. Expansion strategies include opening new access points, expanding medical services, and pursuing practice acquisitions or partnerships to better serve communities in greatest need. Cooperative efforts are suggested to help overcome challenges to development like capital needs.
The document provides information about upcoming presentations at the Brisbane Azure User Group from January 2019 to November 2019. It also includes announcements about new Azure services and features such as Azure Functions Premium Plan, Azure Search storage optimized tiers, data discovery and classification for Azure SQL Data Warehouse, Azure Front Door service reaching general availability, and Azure Backup for SQL Server in Azure VMs also reaching general availability. Additionally, it advertises events such as the Global Azure Bootcamp and Integration Down Under conference.
Azure News Slides for October2017 - Azure Nights User GroupMichael Frank
James Rooke presented on Azure Stack at Microsoft HQ in Melbourne. The presentation included an overview of recent Azure announcements, a deep dive session on Azure Stack, and a meet the team segment. Key announcements included the general availability of the Azure Managed Applications service, PowerShell support in Azure Cloud Shell, and new features for Azure services like SQL Database, Stream Analytics, and Machine Learning.
Azure Identity (AD,ADFS 2.0,AAD,ADB2C,OAuth,OpenID,PingID,AD Custom Policies) ,
Azure PaaS (Azure Functions, Serverless computing, Azure Comsos DB, Webhooks, API Apps, Logic Apps, Kudu, Azure Websites), Azure Functions, Lamda Function, Event Functions, Serverless architecture, Implementing azure functions on GIT HUB comment feature, Why Azure Functions, Azure Virtual Machines, Azure Cloud Services, Azure Web Apps & WebJobs, Service Fabric, Consumption Plans, Billing Model, Benefits of Azure Functions, What is serverless, Implementing bigger solutions into smaller azure functions, Microservices, Use cases, Function App, Implementation storing unstructured data using Azure functions into Cosmos DB, Cosmos DB, Custom Azure functions, Azure Cosmos DB, IOTS, Document DB, Doc DB, How to setup a Jenkins build server and automatically trigger code from Visual studio online,Azure App Service, App service Environment, Azure Stack, Managing Azure App services, Azure Powershell, Azure CLI, REST APIS, Azure Portal, Templates, Kudu Console access, Run GIT Commands on Kudu Console, Locking Azure Resources, Configuring Custom Domains, Adding Extensions to Azure Web App/Websites, App service Deployment options, Data Services in Azure , Azure SQL, Azure SQL server, Azure SQL database vs SQL server in a Azure VM, SQL Tiers, DTU, Data Transactional Unit, Planning & provisioning azure SQL databases,Migrating SQL Databases, Azure SQL Server, SQL server transactional replication, Deploy database to Microsoft Azure Database Wizard, DAC package, DAC, SQL compatibility issues, Migrating SQL with downtime, DMA, Data Migration Assistant, Database Snapshot, Migrating SQL without downtime, DTU, Data Transactional Unit, Recommendations for best performance during SQL Import Process, Transactional Replication, T-SQL, Task to implement what ever you learnt till now,
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The document provides terminology for key concepts and gives instructions for getting started with an Atmosphere application project structure.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The document provides terminology for key concepts and gives instructions for setting up the basic WAR file structure needed to use Atmosphere.
The document is a white paper that introduces the Atmosphere Framework, which aims to make it easier to build asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Runtime, Annotations, Jersey, and Meteor. It also outlines plug-ins for clustering, JMS, and embedding with Grizzly. The framework supports common web server asynchronous APIs and provides its own implementation if native APIs are unavailable. It includes the Atmosphere Spade Server, which bundles Grizzly, Jersey and all Atmosphere modules into an end-to-end stack.
This white paper introduces the Atmosphere Framework, which is designed to simplify building asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Jersey for building RESTful applications, Atmosphere Runtime for writing POJO handlers, and Atmosphere Meteor for integrating with existing servlet-based technologies. It also outlines various plug-ins for clustering and embedding Atmosphere applications. The framework aims to be portable across web servers and supports asynchronous APIs from servers like Tomcat, GlassFish, and Servlet 3.0.
This white paper introduces the Atmosphere Framework, which is designed to simplify building asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Jersey for building RESTful applications, Atmosphere Runtime for writing POJO handlers, and Atmosphere Meteor for integrating with existing servlet-based technologies. It also outlines various plug-ins for clustering and embedding Atmosphere applications. The framework aims to be portable across web servers and supports asynchronous APIs from servers like Tomcat, GlassFish, and Servlet 3.0.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Spade Server, and supported web servers. The document provides an overview of key Atmosphere concepts like suspend, resume, and broadcast. It recommends a standard WAR file structure and context.xml file for portability across web servers.
This white paper introduces the Atmosphere Framework, which is designed to simplify building asynchronous and Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also outlines plug-ins for clustering, embedding Atmosphere in Grizzly, and supporting the Bayeux protocol. The framework is portable across web servers that support Servlet 2.3 and supports various asynchronous APIs including those of WebLogic, Tomcat, GlassFish, Jetty, JBoss, Grizzly and Servlet 3.0.
This white paper introduces the Atmosphere Framework, which is designed to simplify building asynchronous and Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also outlines plug-ins for clustering, embedding Atmosphere in Grizzly, and supporting the Bayeux protocol. The framework is portable across web servers that support Servlet 2.3 and supports various asynchronous APIs including those of WebLogic, Tomcat, GlassFish, Jetty, JBoss, Grizzly and Servlet 3.0.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The framework is portable across web servers that support Servlet 2.3. It supports various native asynchronous APIs and will fall back to thread blocking if needed. The document provides instructions on getting started with the basic WAR structure needed for Atmosphere applications.
The document is a white paper that introduces the Atmosphere Framework, which aims to make it easier to build asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Runtime, Annotations, Jersey, and Meteor. It also outlines plug-ins for clustering, JMS, and embedding with Grizzly. The framework supports common web server asynchronous APIs and provides its own implementation if native APIs are unavailable. It aims to provide portability across web servers for building interactive and real-time web applications.
The document is a white paper that introduces the Atmosphere Framework, which aims to make it easier to build asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Runtime, Annotations, Jersey, and Meteor. It also outlines plug-ins for clustering, JMS, and embedding with Grizzly. The framework supports common web server asynchronous APIs and provides its own implementation if native APIs are unavailable. It includes the Atmosphere Spade Server, which bundles Grizzly, Jersey and all Atmosphere modules into an end-to-end stack.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The document provides terminology for key concepts and gives instructions for getting started with an Atmosphere application project structure.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The document provides terminology for key concepts and gives instructions for getting started, including the required WAR file structure.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Bayeux protocol support, and the Spade server. The framework is portable across web servers that support Servlet 2.3. It supports various native asynchronous APIs and will fall back to thread blocking if needed. The document provides instructions on getting started with the basic WAR structure and context file needed.
This document introduces the Atmosphere Framework, which is designed to make it easier to build asynchronous/Comet-based web applications. It describes the main modules of the framework - Atmosphere Runtime, Annotations, Jersey, and Meteor. It also covers plug-ins, the Spade server, supported web servers, and provides instructions for getting started with an Atmosphere application project structure.
This white paper introduces the Atmosphere Framework, which is designed to simplify building asynchronous and Comet-based web applications. It describes the main modules of the framework, including Atmosphere Jersey for building RESTful applications, Atmosphere Runtime for writing POJO handlers, and Atmosphere Meteor for integrating with existing servlet-based technologies. It also outlines various plug-ins for clustering and embedding Atmosphere applications. The framework aims to be portable across web servers and supports asynchronous APIs from servers like Tomcat, GlassFish, and Servlet 3.0.
Alteryx is a software company that provides tools for data blending, preparation, and advanced analytics. Its main products are Alteryx Designer, which allows users to visually design workflows for data preparation and analysis, and Alteryx Server, which enables scheduling, sharing, and running analytic workflows in a scalable server environment. Alteryx aims to make advanced analytics accessible to non-specialists through an easy to use drag-and-drop interface.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Infrastructure Challenges in Scaling RAG with Custom AI modelsZilliz
Building Retrieval-Augmented Generation (RAG) systems with open-source and custom AI models is a complex task. This talk explores the challenges in productionizing RAG systems, including retrieval performance, response synthesis, and evaluation. We’ll discuss how to leverage open-source models like text embeddings, language models, and custom fine-tuned models to enhance RAG performance. Additionally, we’ll cover how BentoML can help orchestrate and scale these AI components efficiently, ensuring seamless deployment and management of RAG systems in the cloud.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Awx user guide
1. Copyright 2013 AnsibleWorks, Inc. 1
AnsibleWorks AWX User Guide
Version 1.3.0
September 13, 2013
awx@ansibleworks.com
2. Copyright 2013 AnsibleWorks, Inc. 2
Table of Contents
Table
of
Contents
...................................................................................................................
2
Overview
................................................................................................................................
3
AWX
.................................................................................................................................................................................................
3
Licensing
........................................................................................................................................................................................
4
Updates
and
Support
................................................................................................................................................................
4
Requirements
..............................................................................................................................................................................
4
Release
Notes
...............................................................................................................................................................................
5
Known
Issues
...............................................................................................................................................................................
5
Release
History
...........................................................................................................................................................................
5
Getting
Started
.......................................................................................................................
7
Installation
and
Setup
..............................................................................................................................................................
7
Upgrade
an
Existing
AWX
Installation
..............................................................................................................................
9
Quick
Start
.................................................................................................................................................................................
10
User
Guide
............................................................................................................................
34
Logging
In
...................................................................................................................................................................................
34
Organizations
............................................................................................................................................................................
34
Users
.............................................................................................................................................................................................
39
Teams
...........................................................................................................................................................................................
46
Permissions
...............................................................................................................................................................................
54
Projects
........................................................................................................................................................................................
54
Inventories
.................................................................................................................................................................................
58
Credentials
.................................................................................................................................................................................
64
Job
Templates
...........................................................................................................................................................................
65
Jobs
................................................................................................................................................................................................
68
Best
Practices
............................................................................................................................................................................
75
Security
........................................................................................................................................................................................
75
Troubleshooting
......................................................................................................................................................................
76
Glossary
................................................................................................................................
77
Using
LDAP
with
AWX
...........................................................................................................
78
Administration
of
AWX
.........................................................................................................
78
API
........................................................................................................................................
80
3. Copyright 2013 AnsibleWorks, Inc. 3
Overview
AWX
AnsibleWorks AWX is a web-based user interface and REST API endpoint for Ansible, the open
source IT orchestration engine. Whether sharing operations tasks with your team or embedding
Ansible’s engine from an API perspective, AWX provides many powerful tools to make your
automation life easier.
True “Push Button” Automation
Access your favorite projects and re-trigger execution from the web interface with a minimum of
clicking. AWX will let you supply input variables, let you pick your credentials, will kick off and
monitor the job, and allow you many great views into the results and the history of your hosts
over time.
Role Based Access Control
AnsibleWorks AWX allows you to delegate specific authority to different teams or explicit users.
Keep some projects private. Allow some users to edit inventory and others to run playbooks
against only certain systems—either in dry run or live mode.
Cloud & Autoscaling Flexibility
AWX features a powerful callback feature that allows nodes to request configuration on demand.
While optional, this is an ideal solution for an auto-scaling scenario, integrating with provisioning
servers like Cobbler, or when dealing with cloud nodes with unpredictable uptimes. Requiring no
software to be installed on remote nodes, the callback solution can be triggered via a simple call
to ‘curl’ or ‘wget’, and is easily embeddable in init scripts, kickstarts, or preseeds.
The Ideal RESTful API
The AWX REST API is the ideal RESTful API for a systems management application, with all
resources fully discoverable, paginated, searchable, and well modeled. A styled API browser
allows API exploration from the API root (http://servername/api), showing off every resource and
relation. Everything that can be done in the user interface can be done in the API—and more.
5. Copyright 2013 AnsibleWorks, Inc. 5
particular operating system, please contact awx@ansibleworks.com for further information.
NOTE: It is recommended to use Ansible version 1.3 or greater, for improved performance.
However, Ansible version 1.2 is supported for AWX 1.3.
The requirements for systems managed by AWX are the same as for Ansible at:
http://www.ansibleworks.com/docs/gettingstarted.html
Release Notes
• Changes from 1.2.2
o Added integration with Source Code Management systems for importing and
managing AWX project playbooks
o Added integration with LDAP and Active Directory for AWX user management.
Please, see the section Using LDAP with AWX for more information.
o The inventory display has been revised to improve the user experience
Known Issues
1. AnsibleWorks AWX contains a role based access control system. You may appear to be
able to edit objects that do not belong to you (like being able to pull up an edit dialog on
your team mates whom you already have permission to view). Don’t worry, when you try
to edit something, you’ll get a 403 error, and you can’t see any information you shouldn’t
already have access to as defined in the system.
2. This version of AWX does not support scheduling jobs from the UI, only triggering them.
You may schedule jobs via a cron script via the AWX API, or using the AWX cli found at
github.com/ansible/awx-cli.
Release History
The release history for this documentation is as follows:
Version Date Changes
1.3.0 September 13, 2013 Updated for release of AWX
1.3
1.2.2 July 31, 2013 Initial Release
7. Copyright 2013 AnsibleWorks, Inc. 7
Getting Started
Welcome to AnsibleWorks AWX!
To get started, first follow the installation instructions in the section entitled Installation and
Setup. Then, either walk through the quick start below to quickly get up and running with AWX
or browse through the documentation and design an implementation plan that works for you.
We value your feedback. Please contact us at awx@ansbileworks.com and let us know what
you think and your ideas for future features!
Installation and Setup
You can expect the installation of AWX to take less than fifteen minutes, depending on the
speed of your network connection. (This installation will require that the AWX server be able to
access the Internet.)
At the end of the installation, you will use your web browser to access the AWX server and
utilize all of its capabilities.
1. Install Ansible 1.2.2 or later as detailed in the Ansible documentation at:
http://www.ansibleworks.com/docs/gettingstarted.html#id3.
For convenience, we’ll summarize those installation instructions here:
a. For Red Hat Enterprise Linux 6 and CentOS 6:
i. Configure the EPEL repository
[root@localhost ~]# yum install http://mirror.oss.ou.edu/epel/6/i386/epel-release-6-
8.noarch.rpm
i. Install Ansible
[root@localhost ~]# yum install ansible
b. For Ubuntu 12.04:
i. Install Ansible dependencies
[root@localhost ~]# apt-get install python-yaml python-paramiko python-jinja2 python-pip
8. Copyright 2013 AnsibleWorks, Inc. 8
ii. Install Ansible
[root@localhost ~]# pip install ansible
2. Download the AWX installer tarball from:
http://ansibleworks.com/releases/awx/setup/awx-setup-1.3.0.tar.gz
3. Extract the tarball and cd into the setup directory
[root@localhost ~]# tar xvzf awx-setup-1.3.0.tar.gz
[root@localhost ~]# cd awx-setup-1.3.0
4. Edit the file “group_vars/all”. Modify the following variable to change the default
database password:
a. pg_password
5. If you wish to setup LDAP / Active Directory authentication for AWX, please review the
section Using LDAP with AWX.
6. From the awx-setup-1.3.0. directory, run setup.sh
NOTE: For users of Red Hat Enterprise Linux or CentOS, PackageKit can frequently interfere
with the update mechanism. Consider disabling or removing PackageKit if installed prior to
running the setup process.
[root@localhost ~]# ./setup.sh
a. Setup will install AWX from RPM or Deb packages using repos hosted on
AnsibleWorks.com.
When setup completes successfully, you should be able to point your web browser to the AWX
server and see the AWX login screen.
9. Copyright 2013 AnsibleWorks, Inc. 9
If the installation of AWX fails or if you need assistance, please contact us at
awx@ansibleworks.com. AnsibleWorks subscription customers will receive a faster response by
filing a support issue with AnsibleWorks.
Upgrade an Existing AWX Installation
You can upgrade your existing AWX installation the latest version by running the setup playbook
for the new version of AWX. All data will be preserved. However, it is important that if you
changed any of the parameters in the file “group_vars/all” (e.g. “pg_password”) that you make
the same changes to the new “group_vars/all” file.
You can expect the upgrade of AWX to take less than fifteen minutes, depending on the speed
of your network connection. (This installation will require that the AWX server be able to access
the Internet.)
At the end of the upgrade, you will use your web browser to access the AWX server and utilize
all of its capabilities.
This upgrade procedure assumes that you have a working installation of Ansible and AWX.
1. Backup the existing AWX database. (The values for the database username and
password in the example commands below will depend on the settings in your
“group_vars/all” file.)
[root@localhost ~]# pg_dump -U awx awx > awx-backup
10. Copyright 2013 AnsibleWorks, Inc. 10
2. Download the AWX installer tarball from:
http://ansibleworks.com/releases/awx/setup/awx-setup-1.3.0.tar.gz
3. Extract the tarball and cd into the setup directory
[root@localhost ~]# tar xvzf awx-setup-1.3.0.tar.gz
[root@localhost ~]# cd awx-setup-1.3.0
4. Edit the file “group_vars/all”. Modify the variable “pg_password” to change the default
database password.
5. If you wish to setup LDAP / Active Directory authentication for AWX, please review the
section Using LDAP with AWX.
6. From the awx-setup-1.3.0. directory, run setup.sh
NOTE: For users of Red Hat Enterprise Linux or CentOS, PackageKit can frequently interfere
with the update mechanism. Consider disabling or removing PackageKit if installed prior to
running the setup process.
[root@localhost ~]# ./setup.sh
a. Setup will install AWX from RPM or Deb packages using repos hosted on
AnsibleWorks.com.
When setup completes successfully, you should be able to point your web browser to the AWX
server and see the AWX login screen.
Quick Start
After the installation of AWX is complete, we’ll complete the following tasks to quickly set up and
launch our first Ansible playbook using AWX. This first playbook launch will execute simple
Ansible tasks to teach you how to use AWX and also ensure AWX is setup properly.
Here’s a summary of the tasks we’ll need to accomplish:
1. Login as Super User
2. Create an Organization
3. Add a new User to the organization
4. Add an Inventory to the organization
11. Copyright 2013 AnsibleWorks, Inc. 11
5. Create a set of Credentials
6. Create a Project
7. Create a new Job Template using an Ansible example playbook
8. Launch it!
You can expect the Quick Start to take less than thirty minutes, from beginning to end. At the
end of the Quick Start, you’ll have a functioning AWX that you can use to launch more
sophisticated playbooks.
For the Quick Start, you will need to have completed the AWX installation and you will also need
a target system to deploy the playbook to. This can be any sort of system that can be managed
by Ansible.
NOTE: The requirements for a system to be managed by Ansible are at
http://www.ansibleworks.com/docs/gettingstarted.html.
Ready? Let’s go!
1. Login as Super User
First, log in to AWX by browsing to the AWX server URL at http://<AWX server name>/
Log in using the username and password set during the installation process. By default, this will
be username: “admin” and password: “password”. You can change this by clicking on the
“admin” account on the users tab.
NOTE: We’ll get into the details of the differences between a normal user, superuser, and
organization administrator in the section Users.
12. Copyright 2013 AnsibleWorks, Inc. 12
From this main interface, we can access all aspects of AWX, including Organizations, Users,
Teams, Projects, Inventories, Credentials, Job Templates, and Jobs.
Keep in mind that the goal of this Quick Start is to launch a simple playbook. In order to do so,
we’ll need to set up a number of configuration options, but doing so now will ensure AWX is
configured properly and allow us to easily execute more involved playbooks later while taking
advantage of all the flexible role-based access control that AWX provides. You’ll also get to
know more about AWX along the way.
AWX provides multiple levels of role-based access, providing delegation of responsibility, but
with fine-grained control over who can do what. We’ll talk about that in more detail later in this
13. Copyright 2013 AnsibleWorks, Inc. 13
document. For now, here’s a simplified outline that shows the hierarchy of AWX’s role based
access control and the relationship between each element.
AWX Hierarchy
● Organizations
○ Inventories
■ Groups
● Hosts
○ Teams
■ Credentials
■ Permissions
■ Users
● Credentials
● Permissions
● Projects
○ Playbooks
○ Job Templates
● Jobs
Now, let’s create a new organization within which we can create our first user, detail our
inventory of hosts, and store SSH credentials for those hosts.
2. Create an Organization
Make sure you are on the Organizations tab and click +Create new.
14. Copyright 2013 AnsibleWorks, Inc. 14
Enter a simple name and description for the organization. You can edit both of these fields later,
so the values aren’t critical. For our example, we will create an organization for a fictitious
company called Bender Products Ltd.
Organizations have both normal users and organization administrators. Organization
Administrators are able to modify the membership and other properties of the organization,
whereas normal users cannot. They are essentially super users but only within the scope of that
organization. For more about the differences between users and administrators, see the section
on Users.
The “admin” user is a Super User account -- a de-facto administrator for all organizations, so
let’s use our admin powers to create a new user and add it to our new organization. When
creating a new user, the checkbox Superuser? corresponds to this level of access. Only Super
Users can create other Super Users or promote existing users to this level.
3. Create a new user and add the user to the organization
Expand the Users section (not the Users tab!) as shown here:
15. Copyright 2013 AnsibleWorks, Inc. 15
Add a user by clicking the +Add button.
A list of all existing users will be presented. Since we have not created any users, the only user
listed is “admin”. Click the +Create New button to create a brand new user.
17. Copyright 2013 AnsibleWorks, Inc. 17
Click the Save button to save the user. You will be taken back to the organization details, where
the new user we just created now appears on the list.
Now, we have an organization and a user. Let’s add an inventory of hosts we’ll be managing for
Bender Products.
4. Create a new inventory and add it to the organization
An inventory is a collection of hosts that can be managed with AWX. Inventories are assigned to
organizations and permission to launch playbooks against inventories is controlled at the user
and team level. More information can be found in the Inventories and Permissions sections.
Create a new inventory by browsing to the Inventories tab and clicking +Create New.
18. Copyright 2013 AnsibleWorks, Inc. 18
Enter the values for Name and Description, and then click the look-up button to the left of the
Organization field to select a value. For this example, the name of our inventory will be Web
Servers.
An Inventory is assigned to an organization. For our example we’ll use the organization we
created earlier. Select the row from the list by clicking on it. The selected row will be highlighted
with a pastel green and a checkbox in the Select column. Click the Select button to confirm
your choice.
19. Copyright 2013 AnsibleWorks, Inc. 19
For now we will defer a discussion of variables until later and leave the Variables field alone.
Click the Save button at the bottom of the page to create the inventory.
20. Copyright 2013 AnsibleWorks, Inc. 20
After clicking Save, you will be taken to a screen allowing you to add groups to the new
inventory. A tree on the left side of the page represents the Web Servers inventory. The
inventory is empty at this point, so the tree consists only of a root node.
Inventories are divided into groups. A group might represent a particular environment (e.g.
“Datacenter 1” or “Stage Testing”), a type of server (e.g. “Application Servers” or “DB Servers”),
or any representation of your physical environment.
Hosts are added to groups. They cannot be added directly to the inventory root. So to begin
adding hosts to the Web Servers inventory, we first need to add a group. Click the +Create
New button.
21. Copyright 2013 AnsibleWorks, Inc. 21
Bender Products has a group of web server hosts supporting the corporate CMS application. To
add these hosts to the Web Servers inventory we’ll create a “CMS Web” group. Again, we will
defer a discussion of variables for later. Click the Save button to create the group.
Finally, add a host to the group by clicking the Hosts button.
22. Copyright 2013 AnsibleWorks, Inc. 22
The Hosts screen will open to display the set of hosts belonging to the inventory. Select, the
group to add the new host to.
Select +Create New to create the new host and add it to the group.
Enter the Host Name, which should either be the DNS resolvable name of the host or its IP
address. This is how AWX will contact the host, so the host must be reachable using this
hostname or IP address for AWX to function properly. The Description is arbitrary, as usual.
(Note, experienced Ansible users will know they could also set the ansible_ssh_host
environment variable to use an alias, but that is not going to be covered here).
For the purposes of this Quick Start, add a host that you can actually reach via SSH and
manage using Ansible (i.e. that meets the Ansible requirements). We will launch a simple
Ansible playbook that will not harm or modify the target in any way. Using a real target host
allows us to ensure that AWX is setup properly.
23. Copyright 2013 AnsibleWorks, Inc. 23
Click Save to finish adding the host.
Next, we’ll add credentials to our new user that AWX can use to access and launch Ansible
playbooks for the host in our inventory.
5. Create a new set of credentials
Credentials are used to authenticate the AWX user to launch Ansible playbooks against
inventory hosts and can include passwords and SSH keys. You can also require the AWX user
24. Copyright 2013 AnsibleWorks, Inc. 24
to enter a password or key phrase when a playbook is launched using the credentials feature of
AWX.
Although credentials can be managed via the Credentials tab, they are created via the Users
and Teams tabs.
Create a new set of credentials by browsing to the Users tab. Click Edit on the user we created
in step #2.
Expand the Credentials accordion dialog, as shown below
25. Copyright 2013 AnsibleWorks, Inc. 25
Browse the available credentials by clicking +Add. Since we haven’t created any credentials
yet, this list will be empty.
Create a new credential by clicking +Create New.
26. Copyright 2013 AnsibleWorks, Inc. 26
Enter an arbitrary Name and Description for this credential. Also enter the details of the
appropriate authentication mechanism to use for the host we added to AWX in step #3. Use the
actual credentials for the real host. To keep things simple, we’ll use an SSH password, but ask
for it at runtime. So, rather than enter the password here, we’ll enter it later when we launch a
playbook using these credentials. To do so, check the box Ask at runtime for SSH Password,
as shown here.
NOTE: AWX supports various different options for what you want to store for credentials in
this box. Uploading a locked SSH key is recommended, and AWX can prompt you for the
SSH unlock password for use with ssh-agent when launching the job.
27. Copyright 2013 AnsibleWorks, Inc. 27
Click Save.
Now, we’ll create a new project and a job template with which to launch a simple playbook.
28. Copyright 2013 AnsibleWorks, Inc. 28
6. Create a new Project and select Create New.
Before we create this project, we’ll need to create a subdirectory for it on the AWX server
filesystem, where we will store the Ansible playbooks for this project.
NOTE: This will require you to log into the AWX server on the command line console. In a
future version of the application, this will be done without leaving the Web interface.
Create a new project directory by creating a directory on the AWX filesystem underneath the
Project Base Path, by default “/var/lib/awx/projects”.
[root@localhost ~]# cd /var/lib/awx/projects
[root@localhost ~]# mkdir helloworld
While we’re here, let’s go ahead and create a simple Ansible playbook. Use your favorite editor
to create a file called “helloworld.yml” inside the directory we just created, “/var/lib/awx/projects”.
[root@localhost ~]# cd helloworld
[root@localhost ~]# vi helloworld.yml
The contents of the file are below:
---
- name: Hello World!
hosts: all
user: root
tasks:
- name: Hello World!
shell: echo "Hi! AWX is working"
Save this playbook file and we’ll use it to test AWX running a playbook against the host in our
inventory.
NOTE: Ansible playbooks utilize the YAML language. More information about Ansible
playbooks may be found at: http://www.ansibleworks.com/docs/playbooks.html. More
information on YAML can be found at: http://yaml.org/.
29. Copyright 2013 AnsibleWorks, Inc. 29
Now, create the new project by browsing to the Projects tab. Click +Create New.
Enter a Name and Description for the project.
The Project Base Path will display the value entered when AWX was installed and cannot be
edited from this dialog. (See the section Administration of AWX for more information on how to
modify this value.)
Leave SCM Type set to Manual, for now.
For the Playbook Directory, we will select a value that corresponds to the subdirectory we just
created.
Note: If you see the following warning, double check that the helloworld project directory and file
were created correctly and that the permissions are correct. Use “chown –R awx” on the project
directory if necessary. If SE Linux is enabled, check the directory and file context.
30. Copyright 2013 AnsibleWorks, Inc. 30
“WARNING: There are no unassigned playbook directories in the base project path
/var/lib/awx/projects. Either the projects directory is empty, or all of the contents are already
assigned to other projects. New projects can be checked out from source control by changing
the SCM type option rather than specifying checkout paths manually. To continue with manual
setup, log into the AWX server and ensure content is present in a subdirectory under
/var/lib/awx/projects. Run "chown -R awx" on the content directory to ensure awx can read the
playbooks.”
Select Save and the new project will be displayed.
Finally, let’s create a job template for this new playbook and launch it.
7. Create a new Job Template using an Ansible example playbook
A job template combines an Ansible playbook from a project and the settings required to launch
it. Create a new job template by browsing to the Job Templates tab and clicking +Create
New.
Enter values for the Name and Description. Jobs can be of type Run or Check. Select Run
for this Quick Start (check corresponds to “dry run” mode.) Choose the Inventory, Project,
and Credential from those we have created during this exercise.
31. Copyright 2013 AnsibleWorks, Inc. 31
The playbook drop-down menu will automatically populate from the project path and playbook
we created in step #5. Choose the “helloworld” playbook.
Click Save.
Now, let’s launch the playbook and watch it all come together.
9. Launch it!
To launch the playbook, browse to the Job Templates tab and click Launch on the template.
32. Copyright 2013 AnsibleWorks, Inc. 32
AWX will ask you for the SSH password, as we configured the credential.
AWX will then redirect the browser to the Jobs tab, where you can see the list of all jobs.
Select the job or click Details to see the details of the job. When the job is complete, you
should see output similar to the following.
33. Copyright 2013 AnsibleWorks, Inc. 33
Click Events and you’ll see the standard output from the host and the result of running our
playbook.
Great work! Your AWX installation is up and running properly. Now, you can browse through the
User Guide and learn about all of these features of AWX in more detail.
Don’t hesitate to send your feedback to awx@ansibleworks.com. We appreciate your support!
34. Copyright 2013 AnsibleWorks, Inc. 34
User Guide
This section of the documentation will detail all of the functionality of AWX.
Logging In
To log in to AWX, browse to the AWX interface at http://<AWX server hostname or IP Address>/
Log in using a valid AWX username and password.
NOTE: The default username and password set during installation are “admin” and
“password”, but the AWX administrator may have changed these settings during installation. If
the default settings have not been changed, you can do from the Users tab.
Organizations
An organization is a logical collection of Users, Teams, Projects, and Inventories and is the
highest level in the AWX object hierarchy.
The Organizations tab displays all of the existing organizations for your installation of AWX.
Organizations can be searched by Name or Description.
35. Copyright 2013 AnsibleWorks, Inc. 35
From the Organizations tab, you can modify and remove existing organizations, using the Edit
and Delete buttons.
Create a new organization by selecting +Create New.
1. Enter the Name for your organization.
2. Optionally, enter a Description for the organization.
Click Save to finish creating the organization.
Once created, AWX will display the organization details, including two accordion-style menus
below the organization name and description details that provide for managing users and
administrators for the organization.
36. Copyright 2013 AnsibleWorks, Inc. 36
Users
A user is someone with access to AWX with associated permissions and credentials. For more
information, please see the section Users.
Expand the users menu by selecting Users.
This menu allows you to manage the user membership for this organization. (User membership
may also be managed on a per-user basis via the Users tab.) The user list may be sorted and
searched by Username, First Name, or Last Name. Existing users may also be modified and
removed using the Edit and Delete buttons.
37. Copyright 2013 AnsibleWorks, Inc. 37
To add users to the organization, click the +Add button. Then, select one or more users from
the list of available users by clicking the Select checkbox or clicking anywhere on the user row.
Click the Select button when done.
To add a new user to AWX and to the organization, click the +Create New button, which takes
us to the new user dialog.
Enter the appropriate details into the following fields:
● Username
● First Name
● Last Name
● Email
● Organization
● Password
● Confirm Password
38. Copyright 2013 AnsibleWorks, Inc. 38
● Superuser? (Give this user Super User privileges for AWX. Caution!)
All of these fields are required. Select Save when finished and the user will be added to the
organization.
Organization Administrators
An organization administrator is a type of user that has the rights to create, modify, or delete
objects in the organization, including projects, teams, and users in that organization. Expand the
Administrators menu by selecting Administrators.
This menu displays a list of the users that are currently an organization administrator of the
organization. The administrator list may be sorted and searched by Username, First Name, or
Last Name.
To add an administrator to the organization, click the +Add button.
NOTE: A user must first be added to the Organization before it can be added to the list of
Administrators for that Organization.
Then, select one or more users from the list of available users by clicking the Select checkbox
or clicking anywhere on the user row. Click the Select button when done.
39. Copyright 2013 AnsibleWorks, Inc. 39
Users
A user is someone who has access to AWX with associated permissions and credentials. The
Users tab allows you to manage the all AWX users. The user list may be sorted and searched
by Username, First Name, or Last Name.
There are three types of AWX Users:
1. Normal User: read and write access is limited to the inventory and projects that the user
has been granted the appropriate rights to via AWX Permissions.
2. Organization Administrator: the administrator of an organization has all of the rights of
a normal user, as well as admin, read, and write permission over the entire organization
and all of its inventories and projects, but does not have those levels of access on
content belonging to other organizations. This level of user can create more users.
3. Super User: an AWX super user has admin, read, and write permissions over the entire
AWX installation. A Super User is typically a systems administrator responsible for
40. Copyright 2013 AnsibleWorks, Inc. 40
managing AWX, and would then delegate responsibilities for day-to-day work to various
Organization Administrators.
NOTE: The initial user (usually “admin”) created by the AWX installation process is a Super
User. One Super User must always exist, so if you wish to delete “admin”, first create another
Super User account.
To create a new user click the +Create New button, which takes us to the new user dialog.
Enter the appropriate details into the following fields:
● Username
● First Name
● Last Name
● Email
● Organization (Choose from an existing organization)
● Password
● Confirm Password
● Superuser? (Gives this user admin privileges for AWX. Caution!)
All of these fields are required. Select Save when finished.
Once the user is successfully created, AWX will open the Edit User dialog. This is the same
menu that is opened if the Edit button is clicked from the Users tab. Here, User Setting,
Credentials, Permissions, and other user membership details may be reviewed and modified.
41. Copyright 2013 AnsibleWorks, Inc. 41
Credentials
Credentials are user- and host-specific authentication details that may include a user password,
SSH key, passphrase, or sudo password. For details about how to use credentials, please see
the section Credentials.
To add credentials to user, expand the credentials menu and click the +Add button.
Then, select one or more credentials from the list of available credentials by clicking the Select
checkbox. Click the Select button when done.
42. Copyright 2013 AnsibleWorks, Inc. 42
To add new credentials to the user click the +Create New button, which takes us to the
Create Credential dialog.
Enter the appropriate details into the following fields:
● Name (required)
● Description (required)
● SSH Username (required)
43. Copyright 2013 AnsibleWorks, Inc. 43
● SSH Password (required)
○ Ask at runtime?
● Confirm SSH Password
● SSH Private Key
● Key Password
○ Ask at runtime?
● Confirm Password
● Sudo Username
○ Ask at runtime?
● Confirm Sudo Username
Select Save.
Permissions
Permissions are the set of privileges assigned to users and teams that provide the ability to read,
modify, and administer projects, inventories, and other AWX elements. For details about how to
use permissions, please see the section Permissions.
This menu displays a list of the permissions that are currently available. The permissions list
may be sorted and searched by Name, Inventory, Project or Permission type.
To add new permissions to the user, click the +Add button, which takes us to the Add
Permission dialog.
44. Copyright 2013 AnsibleWorks, Inc. 44
Enter the appropriate details into the following fields:
● Permission Type
○ Inventory
○ Deployment
● Name
● Description
Selecting a Permission Type of either Inventory or Deployment will change the appearance
of the Add Permission dialog to present appropriate options for each type of permission.
For a permission of type Inventory, enter the following details:
● Inventory (Select from the available inventories)
● Permission
○ Admin
○ Read
○ Write
For a permission of type Deployment, enter the following details:
● Project (Select from the available projects)
● Inventory (Select from the available inventories)
● Permission
○ Run
○ Check
Select Save.
Admin of Organizations
This displays the list of organizations that this user is an administrator of. This list may be
searched by Organization Name or Description. A user cannot be made an organization
administrator from this interface panel.
45. Copyright 2013 AnsibleWorks, Inc. 45
Organizations
This displays the list of organizations that this user is a member of. This list may be searched by
Organization Name or Description. Organization membership cannot be modified from this
display panel.
Teams
This displays the list of teams that this user is a member of. This list may be searched by Team
Name or Description. Team membership cannot be modified from this display panel.
46. Copyright 2013 AnsibleWorks, Inc. 46
Projects
This displays the list of projects that this user has access to. This list may be searched by
Project Name or Description. Project access cannot be modified from this display. For more
information about projects, please see the section Projects.
Teams
A team is a subdivision of an organization with associated users, projects, credentials, and
permissions. Teams provide a means to implement role-based access control schemes and
delegate responsibilities across organizations. For instance, permissions may be granted to a
whole team rather than each user on the team.
This tab allows you to manage the teams for AWX. The user list may be sorted and searched by
Username, First Name, or Last Name.
47. Copyright 2013 AnsibleWorks, Inc. 47
To create a new team, click the +Create New button, which takes us to the Create Team
dialog.
Enter the appropriate details into the following fields:
● Name
● Description
● Organization (Choose from an existing organization)
All fields are required. Select Save.
Once the team is successfully created, AWX will open the Edit Team dialog. This is the same
menu that is opened if the Edit button is clicked from the Teams tab. Here, Team Settings,
Credentials, Permissions, Projects, and Users associated with this team may be reviewed and
modified.
48. Copyright 2013 AnsibleWorks, Inc. 48
Credentials
Credentials are user- and host-specific authentication details that may include a user password,
SSH key, passphrase, or sudo password. For details about how to use credentials, please see
the section Credentials.
To add credentials to the team, click the +Add button. Then, select one or more credentials
from the list of available credentials by clicking the Select checkbox. Click the Select button
when done.
49. Copyright 2013 AnsibleWorks, Inc. 49
To create new credentials and add them to the team, click the +Create New button, which
takes us to the Create Credential dialog.
Enter the appropriate details into the following fields:
● Name (required)
● Description (required)
● SSH Username (required)
● SSH Password (required)
50. Copyright 2013 AnsibleWorks, Inc. 50
○ Ask at runtime?
● Confirm SSH Password
● SSH Private Key
● Key Password
○ Ask at runtime?
● Confirm Password
● Sudo Username
○ Ask at runtime?
● Confirm Sudo Username
Select Save.
Permissions
Permissions are the set of privileges assigned to users and teams that provide the ability to read,
modify, and administer projects, inventories, and other AWX elements. For details about how to
use permissions, please see the section Permissions.
This menu displays a list of the permissions that are currently available. The permissions list
may be sorted and searched by Name, Inventory, Project or Permission type.
To add new permissions to the team, click the +Add button, which takes us to the Add
Permission dialog.
51. Copyright 2013 AnsibleWorks, Inc. 51
Enter the appropriate details into the following fields:
● Permission Type
○ Inventory
○ Deployment
● Name
● Description
Selecting a Permission Type of either Inventory or Deployment will change the appearance
of the Add Permission dialog to present appropriate options for each type of permission.
For a permission of type Inventory, enter the following details:
● Inventory (Select from the available inventories)
● Permission
○ Admin
○ Read
○ Write
For a permission of type Deployment, enter the following details:
● Project (Select from the available projects)
● Inventory (Select from the available inventories)
● Permission
○ Run
○ Check
Select Save.
Projects
This displays the list of projects that this team has access to. This list may be searched by
Project Name or Description. For more information about projects, please see the section
Projects.
52. Copyright 2013 AnsibleWorks, Inc. 52
To add a project to the team, click the “+Add” button. Then select one or more projects from the
list of available credentials by clicking the Select checkbox or clicking anywhere on the user row.
Click Finished when done.
To create a new project and it to the team, +Create New, which takes us to the Create
Project dialog.
53. Copyright 2013 AnsibleWorks, Inc. 53
Enter the appropriate details into the following fields:
● Name
● Description
● Organization
● SCM Type
● Project Base Path
● Project Path
All fields are required. Select Save.
Users
This menu displays the list of users that are members of this team. This list may be searched by
Username, First Name, or Last Name. For more information on users, please see the section
Users.
To add users to the team, click the +Add button. Then, select one or more users from the list of
available users by clicking the Select checkbox or clicking anywhere on the user row. Click the
Select button when done.
54. Copyright 2013 AnsibleWorks, Inc. 54
Permissions
Permissions are rights given to users to perform actions, including manage inventory and invoke
Ansible playbooks / roles.
There are two permission types available to be assigned to users and teams, each with its own
set of permissions available to be assigned:
● Inventory: grants permission to act on inventories, groups, and hosts
○ Admin: modify the settings for the specified inventory. This permission also
grants Read and Write permissions.
○ Read: view groups and hosts within a specified inventory
○ Write: create, modify, and remove groups, and hosts within a specified inventory.
Does not give permission to modify the inventory settings. This permission also
grants the Read permission.
● Deployment: grants permission to launch jobs from the specified project against the
specified inventory
○ Run: launch jobs of type Run. This permission also grants the Check permission.
○ Check: launch jobs of type Check.
Permissions do not have their own tab, but may be managed from either or both of the Users
and Teams tabs. See those sections for information on how to modify, add, and delete
permissions.
Projects
A Project is a logical collection of Ansible playbooks, represented in AWX.
55. Copyright 2013 AnsibleWorks, Inc. 55
Add your Ansible projects to the filesystem of your AWX installation under the project base path.
You can do this by either managing playbooks and playbook directories manually or by using a
source code management (SCM) system supported by AWX, including Git, Subversion, and
Mercurial.
NOTE: By default, the Base Project Path is /var/lib/awx/projects, but this may have been
modified by the AWX administrator. It is configured in /etc/ansibleworks/settings.py. Use
caution when editing this file, as it is possible to disable your installation.
This menu displays a list of the projects that are currently available. The list of projects may be
sorted and searched by Project Name, Description, by the time the project was Last
Updated, or by Status. From the Projects tab, you can also modify and remove existing
projects, using the Edit and Delete buttons.
For projects managed via Source Code Management (SCM), the Status button will display the
update status for the project and Update will invoke an immediate SCM update for the project.
Status may be one of the following:
• Updating - an update is in progress
• Never updated - project has never been updated
• Failed - last update failed
• Successful - last updated succeeded
• Missing - project has a last update, but the project directory is missing, or project doesn't
use SCM and the directory is missing
• Ok - project doesn't use SCM, and the directory is present
Refresh the list of projects with the Refresh button. To create a new project, click the +Create
New button, which takes us to the Create Project dialog.
NOTE: If you have not added any Ansible playbook directories to the base project path, then
you will receive the following message from AWX:
56. Copyright 2013 AnsibleWorks, Inc. 56
WARNING: There are no unassigned playbook directories in the base project path
/var/lib/awx/projects. Either the projects directory is empty, or all of the contents are already
assigned to other projects. New projects can be checked out from source control by changing
the SCM type option rather than specifying checkout paths manually. To continue with manual
setup, log into the AWX server and ensure content is present in a subdirectory under
/var/lib/awx/projects. Run "chown -R awx" on the content directory to ensure awx can read the
playbooks.
Correct this issue by creating the appropriate playbook directories and checking out
playbooks from your SCM or otherwise copying playbooks into the appropriate playbook
directories.
Enter the appropriate details into the following fields:
● Name
● Description
● Organization
A project must have at least one organization. Pick one organization now to create the
project, and then after the project is created you can add additional organizations.
● SCM Type
Select one of Manual, Git, SVN, or Mercurial. (See the appropriate section below for
more detail.)
● Project Base Path (Shown here as a convenience. A future release may make this user-
editable.)
● Project Path (The project paths show here are automatically read from the directory tree
with a root of the project base path.)
All fields are required. Select Save.
57. Copyright 2013 AnsibleWorks, Inc. 57
Note: Each project path can only be assigned to one project. If you receive the following
message, ensure that you have not already assigned the project path to an existing project.
All of the project paths have been assigned to existing projects, or there are no directories
found in the base path. You will need to add a project path before creating a new project.
To manage playbooks manually:
1. Create one or more directories to store playbooks under the Project Base Path
(e.g. “/var/lib/awx/projects/”)
2. Create or copy playbook files into the playbook directory(s).
3. Ensure that the playbook directory(s) and files are owned by the same UNIX user
and group that the AWX service runs as.
4. Ensure that the permissions are appropriate for the playbook directory(s) and
files.
If you have trouble adding a project path, check the permissions and SE Linux context settings
for the project directory and files.
To manage playbooks using SCM:
Select the appropriate SCM Type.
Enter the appropriate details into the following fields:
● SCM URL
● SCM Branch (Git or Mercurial only)
Optionally enter the SCM branch for Git or Mercurial
● Revision # (SVN only)
Optionally enter the Revision # for Subversion
58. Copyright 2013 AnsibleWorks, Inc. 58
● Authorization required?
● If SCM authentication is required, select this checkbox and enter the appropriate details.
●
● Clean
Remove any local modifications prior to performing an update.
● Delete on Update
Delete the local repository in its entirety prior to performing an update. Depending on the
size of the repository this may significantly increase the amount of time required to
complete an update.
● Update on Launch
Each time a job runs using this project, perform an update to the local repository prior to
starting the job.
Inventories
An inventory is a collection of hosts against which jobs may be launched.
This menu displays a list of the inventories that are currently available. The inventory list may be
sorted and searched by Name, Descriptions, and Organization, and filtered by inventories
with failed jobs.
To create a new inventory click the +Create New button, which takes us to the Create
Inventory dialog.
59. Copyright 2013 AnsibleWorks, Inc. 59
Enter the appropriate details into the following fields:
● Name (required)
● Description (required)
● Organization (Select from the available organizations)
● Variables
○ Parse as YAML or JSON
Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the
two.
Select Save.
Existing inventories may be managed from the Inventories tab using the following actions:
• Jobs - Show all jobs launched against the selected inventory
• Hosts - Manage the hosts belonging to the inventory
• Groups - Manage the inventory groups
• Edit Inventory Properties
• Delete Inventory
Inventories are divided into groups, which may contain hosts and other groups. An inventory
must contain at least one group.
Groups
To add a group to an inventory or to manage an existing group, click the Groups button, which
navigates to the Groups editor.
60. Copyright 2013 AnsibleWorks, Inc. 60
Create a new group by clicking the +Create New button, which displays the Create Group
dialog.
Enter the appropriate details into the following fields:
● Name (required)
● Description (required)
● Variables
○ Parse as YAML or JSON
Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the
two.
Click Save.
61. Copyright 2013 AnsibleWorks, Inc. 61
To manage an existing group, select the group from the Group Editor.
Selecting an existing group will display a set of buttons for managing the group.
The following actions are available:
• Properties - Edit the group properties.
• Copy - Copy existing groups to the selected group.
• Create New - Create a new group and add it to the selected group.
• Delete - Permanently delete the selected group. Any hosts in the group will still be
available in All Hosts.
The Group Editor provides two additional buttons, for ease of navigation. The following actions
are available:
• Inventory Properties - Edit the properties for the parent inventory of the selected group.
• Hosts - Display the Hosts Editor.
Hosts
Hosts are managed from the Hosts Editor. Navigate to the Hosts Editor by clicking the Hosts
button from the Inventories tab or from the Group Editor.
62. Copyright 2013 AnsibleWorks, Inc. 62
The host list may be sorted and searched by Hostname and filtered by hosts with failed jobs.
Several actions are available from this interface for each host. These actions are detailed below.
Clicking the hostname will navigate to the Host Properties dialog where the host properties may
be modified.
Clicking the groups button will open the Host Groups dialog. Use the Host Groups dialog
to modify the group membership for an individual host.
The Jobs menu navigates to the following Jobs views for the selected host:
• All jobs
• All host summaries
• Latest job
63. Copyright 2013 AnsibleWorks, Inc. 63
• Latest job events
• Latest host summary
Add a new host
To create a new host and add it to an existing group, first select the group, then click +Create
New.
+Create New will display to the Create Host dialog.
Enter the appropriate details into the following fields:
● Name - The hostname or IP address of the host
● Description
64. Copyright 2013 AnsibleWorks, Inc. 64
● Variables
○ Parse as YAML or JSON
Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the
two.
Click Save to finish adding the selected host(s) to the group.
Credentials
Credentials are user- and host-specific authentication details that may include a user password,
SSH key, passphrase, or sudo password.
The Credentials tab displays a list of the credentials that are currently available. The
credentials list may be sorted and searched by Name, Description, Team, or User.
Credentials may be managed from either the Teams tab or the Users tab. The Credentials tab
simply provides a searchable and sortable list of credentials for your convenience.
To manage credentials for teams, please browse to the Teams tab and edit the appropriate
team. Likewise, to manage credentials for a user, browse to the Users tab and edit the
appropriate user.
Credentials added to a Team will be available to all members of the team, whereas credentials
added to a user are only available to that user, by default.
Types of Credentials
There are many attributes of credentials that can be configured for use by AWX users and
teams:
● SSH Password
65. Copyright 2013 AnsibleWorks, Inc. 65
The actual password to be used to authenticate the user via SSH. This password may be stored
encrypted in the AWX database, if entered. Alternatively, you may configure AWX to ask the
user for the password when a job that uses this credential is launched by selecting Ask at
runtime. In that case, a dialog will open when the job is launched where the user may enter the
password and password confirmation.
● SSH Private Key
The actual SSH Private Key to be used to authenticate the user via SSH. This key is stored
encrypted in the AWX database.
● SSH Private Key with Key Password
In addition to using an SSH private key, you may configure a Key Password associated with
the private key. This password may be stored encrypted in the AWX database, if entered.
Alternatively, you may configure AWX to ask the user for the password when a job that uses this
credential is launched by selecting Ask at runtime. In that case, a dialog will open when the
job is launched where the user may enter the password and password confirmation.
● Sudo Password
The actual password to be used to authenticate the user via sudo. This password may be stored
encrypted in the AWX database, if entered. Alternatively, you may configure AWX to ask the
user for the password when a job that uses this credential is launched by selecting Ask at
runtime. In that case, a dialog will open when the job is launched where the user may enter the
password and password confirmation.
Sudo Password must be used in combination with one of the other methods, since AWX must
first establish an authenticated SSH connection with the host prior to invoking sudo to change to
the sudo user.
Job Templates
A job template is a definition and set of parameters for running an Ansible job. Job templates
are useful to execute the same job many times. While the REST API allows executing jobs
directly, the AWX User Interface requires first creating a job template.
This menu displays a list of the job templates that are currently available. The job template list
may be sorted and searched by Name or Description. The Job Templates tab also enables
the user to modify, launch, and remove a job template.
66. Copyright 2013 AnsibleWorks, Inc. 66
To create a new job template click the +Create New button.
Enter the appropriate details into the following fields:
● Name (required)
● Description (required)
● Job Type: Jobs may be of type Run or Check (Dry Run):
● Run: Execute the playbook when launched, running Ansible tasks on the
selected hosts.
● Check: Execute the playbook in dry-run mode, reporting “changed” when an item
would be changed, but not actually making changes.
67. Copyright 2013 AnsibleWorks, Inc. 67
More documentation on job types may be found in the Advanced Playbook section of the
Ansible documentation.
● Playbook: Choose the playbook to be launched with this job template from the available
playbooks. This menu is automatically populated with the names of the playbooks found
in the project base path. For example, a playbook named “jboss.yml” in the project path
will appear in the menu as “jboss”.
● Credential: Choose the credential to be used with this job template from the credentials
available to the currently logged in AWX user.
● Forks: The number of parallel or simultaneous processes to use while executing the
playbook. A value of zero will use the Ansible default setting, which is 5 parallel
processes unless overridden in /etc/ansible/ansible.cfg.
● Limit: A host pattern to further constrain the list of hosts that will be managed or affected
by the playbook. Multiple patterns can be separated by colons (“:”). As with core Ansible,
“a:b” means “in group a or b”, “a:b:&c” means “in a or b but must be in c”, and “a:!b”
means “in a, and definitely not in b”.
For more information and examples see the “Selecting Targets” section under Inventory and
Patterns in the Ansible documentation.
● Verbosity: Control the level of output Ansible will produce as the playbook executes.
Set the verbosity to any of Default, Verbose, or Debug. This only appears in the “details”
report view. Verbose logging will include the output of all commands. Debug logging is
exceedingly verbose and will include information on SSH operations that can be useful
in certain support instances. Most users will not need to see debug mode output.
● Extra Variables: Pass extra command line variables to the playbook. This is the “-e” or
“--extra-vars” command line parameter for ansible-playbook that is documented in the
Ansible documentation at Passing Variables on the Command Line. Provide key/value
pairs using either YAML or JSON. These variables have a maximum value of
precedence and will override other variables specified elsewhere. An example value
might be:
---
git_branch: production
release_version: 1.5
68. Copyright 2013 AnsibleWorks, Inc. 68
● Allow Callbacks: Enable a host to call back to AWX via the AWX API and invoke the
launch of a job from this job template.
Callbacks are an important feature of AWX that allow a host to initiate a job launch, rather than
waiting for a user to launch a job to manage the host. This provides for automatically configuring
a system after it has been provisioned by another system (such as AWS auto-scaling, or a OS
provisioning system like kickstart or preseed) or for launching a job programmatically without
invoking the AWX API directly.
To enable callbacks, check the Allow Callbacks checkbox. A unique host key will be displayed
that corresponds to this job template. The host key may be reused across multiple hosts to
apply this job template against multiple hosts. Information on how to use the key is provided in a
tooltip agent to the key on a saved job template.
For example, given a certain config key on job template 1, it may be triggered as follows (all on
a single line):
[root@localhost ~]# curl --data "host_config_key=5a8ec154832b780b9bdef1061764ae5a"
http://your.server.com:999/api/v1/job_templates/1/callback/
(Should you wish to control what hosts are able to request configuration, the key may be
changed at any time. The hosts must also be in Ansible inventory.)
When you have completed configuring the job template, select Save.
When editing an existing job template, by clicking the job template name or the Edit button, the
bottom of the screen will display a list of all of the jobs that have been launched from this
template. Please see the section Jobs for more information about this interface.
Launching Jobs
To launch a job template, click Launch.
If credentials require the user to enter additional information, such as a password or passphrase,
a dialog will request this information.
Upon launch, AWX will automatically redirect the web browser to the Jobs tab.
Jobs
A job is an instance of AWX launching an Ansible playbook against an inventory of hosts.
69. Copyright 2013 AnsibleWorks, Inc. 69
The Jobs tab displays a list of jobs, both those currently running as well as a history of all jobs
that have ever been launched. The list of jobs may be sorted and searched by Job ID, Name or
Status.
● The Job ID, Name, and Date values are automatically generated by AWX.
● Job ID: A unique integer that identifies a specific job.
● Name: A concatenation of the Job Template Name and the timestamp. The name is
not guaranteed to be unique.
● Date: A formatted version of the timestamp of when the job was initiated.
● Status: Can be any of pending, running, successful, or failed.
● The Jobs tab does not automatically refresh to show the current status of any pending
jobs. To refresh the job queue click the Refresh button.
There are several actions available for each job, all of which are detailed below:
○ Hosts
○ Events
○ Details
○ Relaunch
○ Cancel
Hosts
70. Copyright 2013 AnsibleWorks, Inc. 70
Clicking the Hosts button will display the Job Host Summary for the selected job. This
summary provides a list of all of the hosts that this job was launched against, as well as useful
summary information about each Ansible playbook task that was executed.
This information includes:
● Host: the host that the playbook was launched against. The host Name is a hotlink to
the Events for this job and host. Events are described below.
● Status: Can be any of pending, running, successful, or failed.
The summary also display the number of playbook tasks that completed with an outcome of:
● Success: the playbook task returned “Ok”.
● Changed: the playbook task actually executed. Since Ansible tasks should be written to
be idempotent, tasks may exit successfully without executing anything on the host. In
these cases, the task would return Ok, but not Changed.
● Failure: the task failed. Further playbook execution was stopped for this host.
● Unreachable: the host was unreachable from the network or had another fatal error
associated with it.
● Skipped: the playbook task was skipped because no change was necessary for the
host to reach the target state.
Events
Clicking the Events button will display the Job Events list for the selected job. This list provides
details about each of the AWX events that comprised the job, including specific details on each
playbook task.
71. Copyright 2013 AnsibleWorks, Inc. 71
This information includes:
● Date: the timestamp of when this job was initiated.
● Status: Can be any of pending, running, successful, or failed.
● Event: the name of the event, including the playbook task name, if appropriate. Clicking
the event name expands and collapses the tree of events and sub-events.
● View: Clicking the View button on any event will display additional information about the
event.
72. Copyright 2013 AnsibleWorks, Inc. 72
Details
Clicking the Details button will display the details for that job. You can also view the same
information by clicking the any of the Job ID, Name or Date fields for the job.
73. Copyright 2013 AnsibleWorks, Inc. 73
These details will include:
● Job Status: same as Status above. Can be any of pending, running, successful, or
failed.
● Date: the timestamp of when the job/event was initiated or received by AWX
● Standard Out: displays the results of running the playbook from the standard out of the
AWX server. This shows the same information you would see if you ran the Ansible
playbook using Ansible from the command line.
The details of the job template that the job was launched with are shown at the bottom of this
screen. This is especially useful in cases where the job template has been modified or removed
since the job was executed. AWX retains this complete history of the job forever.
For information on each of the job template parameters, please see the section Job Templates.
At the top of this screen are additional buttons that provide another path to navigate to the
Hosts and Events details for this job. Clicking Hosts will display the Job Host Summary, as
described above. Clicking Events will display the Job Events list for the job, as described
above.
Relaunch
This button re-launches this specific job, with the same parameters as it originally ran with. Any
modification to the job template after job was launched will not be used during re-launch.
74. Copyright 2013 AnsibleWorks, Inc. 74
Cancel Job
This button cancels the job if it is in progress or pending.
WARNING: this action cannot be undone.
75. Copyright 2013 AnsibleWorks, Inc. 75
Best Practices
Ansible file and directory structure
Please review the Ansible best practices from the Ansible documentation at
http://www.ansibleworks.com/docs/bestpractices.html.
Playbooks should not use the “vars_prompt” feature, as AWX does not interactively allow Q&A
for “vars_prompt” questions at this time.
Inventory Management
Keeping variable data along with the objects in AWX (see the inventory editor) is encouraged,
rather than using “group_vars/” and “host_vars/”. If you use the “awx-manage inventory_import”
command on an inventory source, it can sync such variables with the database.
Scaling
Using the “callback” feature to allow newly booting instances to request configuration is very
useful for auto-scaling scenarios or provisioning integration.
Consider setting “forks” on a job template to larger values to increase parallelism of execution
runs.
CI integration / Continuous Deployment
For a Continuous Integration system, such as Jenkins, to spawn an AWX job, it should make a
curl request to a job template. The credentials to the job template should not require prompting
for any particular passwords. Using the API to spawn jobs is covered in the API section.
Security
The multi-tenancy features of AWX are sufficient to control who can run certain projects on what
systems, but are not intended to hide project content from other teams. For instance, you could
easily control that engineering could not push to production.
All playbooks are executed via the “awx” filesystem user. Users who have access to edit
playbooks need to be trusted as playbooks do have access to the filesystem and all that implies.
Users concerned about credential security may choose to upload locked SSH keys and set the
unlock password to “ask”, or choose to have the system prompt them for SSH credentials or
sudo passwords rather than having the system store them in the database.
76. Copyright 2013 AnsibleWorks, Inc. 76
Troubleshooting
AWX server errors are logged to syslog. Apache web server errors are logged to the httpd error
log.
Client-side issues may be explored using the JavaScript console built into most browsers and
should be reported to awx@ansibleworks.com.
If requested by support, super users may also edit the “Django Admin” browser at http://<AWX
server name>/admin using a super user login. Do not do this unless requested by AnsibleWorks
support as you may remove objects and bypass the business logic of the application. After
logging in to the admin view, users may need to clear their cookies to successfully log back into
the main application.
77. Copyright 2013 AnsibleWorks, Inc. 77
Glossary
Organization: A logical collection of Users, Teams, Projects, and Inventories. The highest level
in the AWX object hierarchy. See this description of the AWX hierarchy.
User: An AWX operator with associated permissions and credentials.
Organization Administrator: An AWX user with the rights to modify the Organization’s
membership and settings, including making new users and projects within that organization. An
organization admin can also grant permissions to other users within the organization.
Team: A sub-division of an Organization with associated Users, Projects, Credentials, and
Permissions. Teams provide a means to implement role-based access control schemes and
delegate responsibilities across Organizations.
Project: A logical collection of Ansible playbooks, represented in AWX.
Inventory: A collection of hosts against which Jobs may be launched.
Credentials: User and Host specific authentication details that may include a user password,
SSH key, passphrase, or sudo password.
Job Template: The combination of an Ansible playbook and the set of parameters required to
launch it, designed to be reusable across hosts.
Job: The instantiation of a Job Template; the launch of an Ansible playbook.
Permissions: The set of privileges assigned to Users and Teams that provide the ability to read,
modify, and administer Projects, Inventories, and other AWX objects.
Host: A system managed by AWX, which may include a physical, virtual, or cloud-based server,
a network router, switch, or firewall, a storage device, or any unique system managed by AWX.
Typically an operating system instance.
Playbook: An Ansible playbook.
Super User: An admin of the AWX server who has permission to edit any object in the system,
whether associated to any organization. Super users can create organizations and other super
users.
78. Copyright 2013 AnsibleWorks, Inc. 78
Using LDAP with AWX
With the 1.3 release of AWX, administrators may utilize LDAP as a source for authentication
information for AWX users. At this time, only user authentication is provided and not
synchronization of user permissions, credentials, or team membership, however organization
membership (and who is an organization admin) can be synchronized.
When so configured, a user who logs in with an LDAP username and password will
automatically get an AWX account created for them and they can be automatically placed into
multiple organizations as either regular users or organization administrators.
By default, if users are created via an LDAP login, by default they cannot change their
username, firstname, lastname, or set a local password for themselves. This is also tunable to
restrict editing of other field names.
Currently, LDAP integration for AWX is configured in the file settings.py and no configuration is
accessible via the AWX user interface. Please, review the comments in that file for information
on LDAP configuration and let us know at awx@ansibleworks.com if you need assistance.
Administration of AWX
Certain command line commands are available for management of AWX. In the future, some of
these may be made available via GUI tools as well, and they may be augmented with other
commands. Here is a useful subset. Do not run other awx-manage commands unless
instructed by AnsibleWorks Support.
NOTE: These commands should be run as the ‘awx’ user.
awx-manage inventory_import [--help]
The inventory_import command is used to synchronize an AWX inventory object with a text-
based inventory file, dynamic inventory script, or a directory of one or more of the above as
supported by core Ansible.
When running this command, specify either an --inventory-id or --inventory-name, and the path
to the Ansible inventory source is given by --source.
By default, inventory data already stored in AWX will be blended with data from the external
source. To use only the external data, specify --overwrite. To specify that any existing hosts get
variable data exclusively from the --source, specify --overwrite-vars. The default behavior will
add any new variables from the external source, overwriting keys that do not already exist, but
preserving any variables that were not sourced from the external data source.
79. Copyright 2013 AnsibleWorks, Inc. 79
awx-manage cleanup_deleted [--help]
When objects in AWX are deleted, they are not actually removed from the database. This is to
ensure audit log history and referential integrity. To restore space in the database, run the
‘cleanup_deleted’ command with the --days=N flag specifying to remove objects flagged as
deleted that are older than N days. You may use the --dry-run flag to list what would be deleted
prior to running the command in “real” mode. You may wish to run this command nightly on cron
with a value of --days=30.
80. Copyright 2013 AnsibleWorks, Inc. 80
API
Firebug, Chrome, and Charles Proxy
This document gives a basic understanding of the API, though you may wish to see what API
calls AWX makes in sequence. To do this, using the UI from Firebug or Chrome with developer
plugins is useful, though Charles Proxy (http://www.charlesproxy.com/) is also an outstanding
visualizer that you may wish to investigate. It is commercial software but can insert itself as, for
instance, an OS X proxy and intercept both requests from web browsers but also curl and other
API consumers.
Browseable API
AWX features a browseable API feature.
You can visit the API in a browser at http://<AWX server name>/api and then click on various
links in the API to explore related resources.
81. Copyright 2013 AnsibleWorks, Inc. 81
You can also PUT and POST on the specific API pages if you so desire by formatting JSON in
the various text fields.
Conventions
With all of the basics about how to explore the API and database objects out of the way, it's now
time for some general API info.
82. Copyright 2013 AnsibleWorks, Inc. 82
AWX uses a standard REST API, rooted at /api/ on the server. The API is versioned for
compatibility reasons but only /api/v1/ is presently available. By querying /api you can see
information about what API versions are available.
All data is JSON by default. You may have to specify the content/type on POST or PUT
requests accordingly.
All URIs should end in "/" or you will get a 301 redirect.
Sorting
Assume the following URL, http:// <AWX server name>/api/v1/groups/
In order to sort the groups by name, access the following URL variation:
http://<AWX server name>/api/v1/groups/?order_by=name
You can order by any field in the object.
Filtering
Any collection is what the system calls a "queryset" and can be filtered via various operators.
For example, to find the groups that contain the name "foo":
http://<AWX server name>/api/v1/groups/?name__contains=foo
To do an exact match:
http://<AWX server name>/api/v1/groups/?name=foo
If a resource is of an integer type, you must add "__int" to the end to cast your string input value
to an integer, like so:
http://<AWX server name>/api/v1/arbitrary_resource/?x__int=5
Related resources can also be queried, like so:
http://<AWX server name>/api/v1/groups/?user__firstname__icontains=john
This will return all groups with users with names that include the string "John" in them.
83. Copyright 2013 AnsibleWorks, Inc. 83
You can also filter against more than one field at once:
http://<AWX server name>/api/v1/groups/?user__firstname__icontains=john&group__name__icontains__foo
This will find all groups containing a user whose name contains John where the group contains
the string foo.
For more about what types of operators are available, see:
https://docs.djangoproject.com/en/dev/ref/models/querysets/
You may also wish to watch the API as the UI is being used to see how it is filtering on various
criteria.
Pagination
Responses for collections in the API are paginated. This means that while a collection may
contain tens or hundreds of thousands of objects, in each web request, only a limited number of
results are returned for API performance reasons.
When you get back the result for a collection you will see something like:
{'count': 25, 'next': 'http://testserver/api/v1/some_resource?page=2', 'previous': None, 'results':
[ ... ] }
Where to get the next page, simply request the page given by the 'next' URL.
To request more items per page, pass the page size query string:
http://<AWX server name>/api/v1/some_resource?page_size=50
The serializer is quite efficient, but you should probably not request page sizes beyond a couple
of hundred.
The user interface uses smaller values to avoid the user having to do a lot of scrolling.
Read Only Fields
Certain fields in the REST API are marked read only. These usually include the URL of a
resource, the ID, and occasionally some internal fields. For instance, the 'created_by' attribute
of each object indicates which user created the resource, and cannot be edited.
If you post some values and notice they are not changing, these fields may be read only.
84. Copyright 2013 AnsibleWorks, Inc. 84
API Example of Triggering A Job
For an example of how to launch an existing job template from a script, for integration with a
Continuous Integration system or other program, please review the awx-cli project at
https://github.com/ansible/awx-cli.
The awx-cli program is a command line utility used to send commands to the AWX API.