Giter VIP home page Giter VIP logo

bmc-remedy-ansible-inventory's Introduction

CMDB Remedy Inventory For Ansible Automation Platform

Input

REMEDY_INSTANCE: https://remedy_server_here.edc.ds1.usda.gov:8118

Use this to define what host (such as CMDB preprod or prod, etc) to connect to

REMEDY_USERNAME: {{ remedy_username }}

Use this to pass the username for the CMDB instance you're connecting to

REMEDY_PASSWORD: {{ remedy_password }}

Use this to pass the password for the CMDB instance you're connecting to

REMEDY_GROUPS: "AssetLifecycleStatus,RebootLevel, etc etc etc "

Use this to override the default groups which get created at execution

REMEDY_HOSTVARS: "AssetLifecycleStatus,RebootLevel, etc etc etc "

Use this to override the default hostvars which get created at execution

REMEDY_OS: Windows

Use this to retrieve only a specific operating system from CMDB

Defaults

"groups": [
    "RebootLevel",
    "Project Number",
    "Project Code",
    "System Environment",
    "Expansion",
    "Expansion Interface",
    "AssetLifecycleStatus",
    "CityName"
]

"host_vars": [
    "Name",
    "Domain",
    "System Role",
    "System Environment",
    "PrimaryIP",
    "RebootLevel",
    "AssetLifecycleStatus",
    "Item",
    "Submitter",
    "Department",
    "CityName"
]

"group_vars": {
    "Windows": { "ansible_connection": "winrm",
                 "ansible_port": 5985,
                 "ansible_winrm_transport": "kerberos",
                 "ansible_winrm_read_timeout_sec": 70,
                 "ansible_winrm_operation_timeout_sec": 60,
                 "ansible_winrm_message_encryption": "auto" },
    "Linux": {},
    "Solaris10": { "ansible_become_exe": "/usr/local/bin/sudo",
                   "ansible_shell_executable": "/bin/bash" },
    "Solaris11": { "ansible_python_interpreter": "/usr/bin/python2" },
    "AIX": {}
}

Output

{ 
    "_meta": {
        "hostvars": {} },
        "all": {
            "hosts": {
                "infrasdb": {
                    "Name": "secretdb",
                    "Domain": "ds.contoso.com",
                    "System Role": "Server (Solaris)",
                    "System Environment": "Development/Sandbox",
                },
                ... snip ...
            }
        }
    }
}

bmc-remedy-ansible-inventory's People

Contributors

gstrother avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.