{"id":18640049,"url":"https://github.com/ryankwilliams/awx-test","last_synced_at":"2025-11-04T19:30:37.880Z","repository":{"id":87459222,"uuid":"104930722","full_name":"ryankwilliams/awx-test","owner":"ryankwilliams","description":"Automation using Ansible AWX for development and test.","archived":false,"fork":false,"pushed_at":"2018-08-12T10:56:04.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T09:42:37.914Z","etag":null,"topics":["awx","awx-test","tower-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryankwilliams.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":"2017-09-26T19:48:16.000Z","updated_at":"2017-10-20T19:12:13.000Z","dependencies_parsed_at":"2023-05-25T13:00:45.491Z","dependency_job_id":null,"html_url":"https://github.com/ryankwilliams/awx-test","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/ryankwilliams%2Fawx-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankwilliams%2Fawx-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankwilliams%2Fawx-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankwilliams%2Fawx-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryankwilliams","download_url":"https://codeload.github.com/ryankwilliams/awx-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239441656,"owners_count":19639121,"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":["awx","awx-test","tower-cli"],"created_at":"2024-11-07T05:53:03.235Z","updated_at":"2025-11-04T19:30:37.842Z","avatar_url":"https://github.com/ryankwilliams.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWX-TEST\n\nAWX-test is a project that is based on using the Ansible\n[tower-cli](https://github.com/ansible/tower-cli) to perform actions\nwithin [AWX](https://github.com/ansible/awx). It provides you with a\nsimple Python class which uses tower-cli to run its available commands.\n\n## Benefit\n\nOne of the main reasons for the Python class is that each of the\ntower-cli commands require objects from other tower-cli commands.\nFor example: when creating an inventory you need to have the\norganization id to associate the inventory too. You cannot pass the\nname of the organization in string format. This requires you too\ncreate an object for organization resource, get the organization object\nand return the organization id to create an inventory. There was also\nchecks needed to see if the organization was valid, etc. This class\nallows all commands (organization, host, etc) to have access to the\nrequired commands it may need.\n\n## Usage\n\nIt is recommended that you configure your tower_cli.cfg file with your\nauthentication details for accessing your AWX instance.\n\n```bash\n$ vi /etc/tower/tower_cli.cfg\n\nhost: http://localhost\nusername: admin\npassword: password\nverify_ssl: False\n```\n\nHere are some examples on how to use the Python class wrapping tower-cli\nlibrary.\n\n```python\nfrom awx import Awx\nfrom pprint import pprint\n\n# create awx object\nawx = Awx()\n\n# list all organizations\nprint(awx.organizations.organizations)\n\n# list all inventories\nprint(awx.inventory.inventories)\n\n# create organization\nawx.organization.create('minions')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankwilliams%2Fawx-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryankwilliams%2Fawx-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankwilliams%2Fawx-test/lists"}