{"id":30527136,"url":"https://github.com/atheiman/knife-ansible-inventory","last_synced_at":"2025-09-16T05:07:54.907Z","repository":{"id":56880271,"uuid":"83629048","full_name":"atheiman/knife-ansible-inventory","owner":"atheiman","description":"Chef knife plugin for generating an Ansible inventory","archived":false,"fork":false,"pushed_at":"2017-03-02T04:50:58.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T05:07:51.695Z","etag":null,"topics":["ansible","ansible-inventory","chef","knife-plugin"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/knife-ansible-inventory","language":"Ruby","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/atheiman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-02T03:15:45.000Z","updated_at":"2019-06-25T17:57:16.000Z","dependencies_parsed_at":"2022-08-20T11:40:41.637Z","dependency_job_id":null,"html_url":"https://github.com/atheiman/knife-ansible-inventory","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atheiman/knife-ansible-inventory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atheiman%2Fknife-ansible-inventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atheiman%2Fknife-ansible-inventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atheiman%2Fknife-ansible-inventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atheiman%2Fknife-ansible-inventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atheiman","download_url":"https://codeload.github.com/atheiman/knife-ansible-inventory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atheiman%2Fknife-ansible-inventory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275364760,"owners_count":25451517,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ansible","ansible-inventory","chef","knife-plugin"],"created_at":"2025-08-27T02:01:41.198Z","updated_at":"2025-09-16T05:07:54.893Z","avatar_url":"https://github.com/atheiman.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# knife-ansible-inventory\n\nCustom [Chef knife plugin](https://docs.chef.io/plugin_knife_custom.html) that returns Chef nodes in a JSON format suitable for [a custom Ansible inventory](http://docs.ansible.com/ansible/dev_guide/developing_inventory.html).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'knife-ansible-inventory'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install knife-ansible-inventory\n\n## Usage\n\n```shell\n$ knife ansible inventory\n    --group-by-attribute ATTRIBUTE\n    --host-attribute ATTRIBUTE\n    --hostvars RETURNED_KEY=ATTRIBUTE.PATH[,RETURNED_KEY=ATTRIBUTE.PATH]\n    --query QUERY\n    --help\n```\n\nSee the [`spec/`](/spec/) directory for examples of commands and their output JSON.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/atheiman/knife-ansible-inventory.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatheiman%2Fknife-ansible-inventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatheiman%2Fknife-ansible-inventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatheiman%2Fknife-ansible-inventory/lists"}