{"id":15668847,"url":"https://github.com/alancoding/tower-cli-bulk-data-faker","last_synced_at":"2026-01-20T07:02:05.004Z","repository":{"id":144899876,"uuid":"53856484","full_name":"AlanCoding/tower-cli-bulk-data-faker","owner":"AlanCoding","description":"Another Ansible Tower populator through the CLI, which populates a lot of things","archived":false,"fork":false,"pushed_at":"2017-07-20T18:46:27.000Z","size":33,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T02:32:03.911Z","etag":null,"topics":["ansible-tower","awx","awx-cli","populator","tower-cli"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-14T13:00:49.000Z","updated_at":"2017-10-15T12:48:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e13f59a-1884-4ba0-a315-173dc37f64e2","html_url":"https://github.com/AlanCoding/tower-cli-bulk-data-faker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlanCoding/tower-cli-bulk-data-faker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cli-bulk-data-faker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cli-bulk-data-faker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cli-bulk-data-faker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cli-bulk-data-faker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCoding","download_url":"https://codeload.github.com/AlanCoding/tower-cli-bulk-data-faker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Ftower-cli-bulk-data-faker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28597985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-tower","awx","awx-cli","populator","tower-cli"],"created_at":"2024-10-03T14:20:18.085Z","updated_at":"2026-01-20T07:02:04.989Z","avatar_url":"https://github.com/AlanCoding.png","language":"Python","readme":"# Tower-cli Bulk Fake Data Creator\n\nThis is a populator for Ansible Tower, which creates a large amount of fake\ndata, and it relies on the libraries from tower-cli.\n\nTower-cli is a command-line interface for the Ansible Tower API, but it can\nalso be used as a python module, and that is the type of use here.\n\n### Usage\n\n### Configuration Data\n\nThis relies on tower-cli configuration already existing and working.\n\n```bash\ntower-cli config username my_user\ntower-cli config password p4ssword\ntower-cli config host http://tower.example.com\n\n# Make sure the connection is working\ntower-cli user list\n```\n\n### Running\n\nThe `create_data.py` script takes a command line argument and then creates\na batch of fake data. Data creation proceeds in phases, which mirror\nthe dependences of resources in Ansible Tower. These go in order of the following:\n\nCreation order:\n\n - Organizations\n - Teams\n - Projects\n - Users\n - Job Templates\n\nThese don't necessarily need to go in this order, and you could draw a\ngraph with arrows of what's needed for others. Each of these have \nbest-available isolation.\n\nYou probably want to poke around a bit before you dump a lot of data.\nSee the commands that a full run would produce with:\n\n```bash\npython create_data.py demo\n```\n\nCreate just a few of a resource by specifying the number, and/or avoid\nactually creating them with the debug option.\n\n```bash\npython create_data.py organization 3 debug\n```\n\nTo run the data creation program (the FULL program) defined by the counts\nin the `Nres` dictionary...\n\n```bash\npython create_data.py all\n```\n\nAlternatively, define a file with the resources and counts (as yaml)\nin it and give that as an argument.\n\n```bash\npython create_data.py run_data.yml\n```\n\nFor example, your file might say to create 2 users and 1 project, and this\ncommand will carry out the creation of those.\n\n### Getting API Response Times\n\nStore your credentials in a yaml file.\n\n```bash\npython time_test.py creds.yml\n```\n\nThis will give the response times at from all the top level endpoints.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftower-cli-bulk-data-faker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancoding%2Ftower-cli-bulk-data-faker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Ftower-cli-bulk-data-faker/lists"}