Ansible server contains valuable data about current state of configuration at the operating system level. In addition users may configure Ansible to retrieve custom application specific facts.
Ansible Variables
Ansible gathers data from the hosts and stores in what is known as Ansible variables. These variable can be loaded into CMDB using Cloudaware integration with Ansible. Cloudaware supports native Ansible variables, custom as well as factor_*
and ohai_*
variables.
Benefits Of Ansible Data In CMDB
- Detect instances not connected to Ansible
- Understand last time ansible successfully executed on the host
- Richer CMDB that has OS and application level data
- Run reports on variables
- Keep track of changes in variables
- Execute workflows and approval processes based on values of variables
- Convert fact to instance attribute
How To Load Ansible Data Into Cloudaware
- Install Ansible-to-S3 adapter on Ansible Server. Instructions are available here.
- Configure Cloudaware to consume Ansible Data From S3 Bucket are available /wiki/spaces/CAM/pages/148602907.
List of Ansible Specific Fields In CMDB
EC2 Instance - Last Ansible Fact Update (Date/Time)