Ansible CMDB

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: Ansible CMDB

As a: Migration Architect

I want to: discover and gather facts from my environment and export them as:

  • HTML
  • CSV / XLSX
  • SQL

So that: I can play my migrations accordingly.

Using the role

Using the role in a playbook
---
- name: Install ansible-cmdb
  hosts: all

  tasks:
    - name: ansible-cmdb is configured
      import_role:
        name: devopstoolbox.ansible-cmdb
      vars:
        ansible-cmdb_enable_service: true
      tags: ansible-cmdb
# Install the role
ansible-galaxy install devopstoolbox.ansible-cmdb

# Run the playbook
ansible-playbook ansible-cmdb-playbook.yml

Last update: 2020-02-09