{"id":15668834,"url":"https://github.com/alancoding/tower-cluster-inventory","last_synced_at":"2025-02-22T11:43:38.794Z","repository":{"id":144899889,"uuid":"204827958","full_name":"AlanCoding/tower-cluster-inventory","owner":"AlanCoding","description":"An Ansible inventory plugin to return the inventory of a live Tower cluster","archived":false,"fork":false,"pushed_at":"2019-08-28T12:36:53.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T05:38:43.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlanCoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-28T02:09:17.000Z","updated_at":"2019-08-28T12:36:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcafe65f-982f-4104-87d1-f01bcb7e50e2","html_url":"https://github.com/AlanCoding/tower-cluster-inventory","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cluster-inventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cluster-inventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cluster-inventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cluster-inventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCoding","download_url":"https://codeload.github.com/AlanCoding/tower-cluster-inventory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170064,"owners_count":19759143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T14:20:14.882Z","updated_at":"2025-02-22T11:43:38.775Z","avatar_url":"https://github.com/AlanCoding.png","language":"Python","readme":"### tower-cluster-inventory\nAn Ansible inventory plugin to return the inventory of a live Tower cluster\n\nUse `ansible-inventory` to view the contents that the inventory produces.\n\n```\nansible-inventory -i tower_cluster.yml --list --export --playbook-dir=.\n```\n\n#### View Plugin Documentation\n\nUse `ansible-doc` to view the documentation.\nThe search path must be set for this to work. That's due to some very technical\nhistorical issues related to bootstrapping the search paths without a playbook\ndirectory available.\n\n```\nANSIBLE_INVENTORY_PLUGINS=inventory_plugins ansible-doc -t inventory tower_cluster\n```\n\n#### Run Playbook Against Inventory\n\nRun a playbook with this inventory.\n\n```\nansible-playbook -i tower_cluster.yml playbook.yml\n```\n\n#### Inventory Parsing Failures\n\nThis is what happens when you run a playbook and all the parsers failed\nto parse the inventory.\n\n```\nansible-playbook -i bad.tower_cluster.yml playbook.yml\n```\n\nMake it a failure:\n\n```\nANSIBLE_INVENTORY_ANY_UNPARSED_IS_FAILED=True ansible-playbook -i bad.tower_cluster.yml playbook.yml\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftower-cluster-inventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancoding%2Ftower-cluster-inventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftower-cluster-inventory/lists"}