{"id":21721475,"url":"https://github.com/informaticsmatters/ansible-role-awx-composer","last_synced_at":"2026-05-04T15:35:19.252Z","repository":{"id":46814637,"uuid":"253853886","full_name":"InformaticsMatters/ansible-role-awx-composer","owner":"InformaticsMatters","description":"A Role to Compose (configure) an AWX server","archived":false,"fork":false,"pushed_at":"2023-01-24T23:29:31.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T22:07:02.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InformaticsMatters.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}},"created_at":"2020-04-07T16:40:41.000Z","updated_at":"2021-02-08T15:21:39.000Z","dependencies_parsed_at":"2023-02-14T02:30:26.652Z","dependency_job_id":null,"html_url":"https://github.com/InformaticsMatters/ansible-role-awx-composer","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/InformaticsMatters/ansible-role-awx-composer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fansible-role-awx-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fansible-role-awx-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fansible-role-awx-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fansible-role-awx-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InformaticsMatters","download_url":"https://codeload.github.com/InformaticsMatters/ansible-role-awx-composer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InformaticsMatters%2Fansible-role-awx-composer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280724530,"owners_count":26380259,"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-10-24T02:00:06.418Z","response_time":73,"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":[],"created_at":"2024-11-26T02:17:02.833Z","updated_at":"2025-10-24T02:34:38.684Z","avatar_url":"https://github.com/InformaticsMatters.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role - informaticsmatters.awx_composer\n==============================================\n\n![yamllint](https://github.com/InformaticsMatters/ansible-role-awx-composer/workflows/lint/badge.svg)\n\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/informaticsmatters/ansible-role-awx-composer)\n![Ansible Role](https://img.shields.io/ansible/role/47735)\n\n[![CodeFactor](https://www.codefactor.io/repository/github/informaticsmatters/ansible-role-awx-composer/badge)](https://www.codefactor.io/repository/github/informaticsmatters/ansible-role-awx-composer)\n\nA Role to Compose (configure) an AWX server from a `tower` variable map that\nyou provide.\n\nRequirements\n------------\n\nTo use this role from your control machine, which runs tasks\non you control machine to interact with an AWX server using the tower-cli\nand localhost, you will need: -\n\n- `ansible` (ideally v2.9.6 or later)\n- `jmespath` (ideally v0.10.0 or later)\n- `ansible-tower-cli` (ideally v3.3.9 or later)\n- The `awx.awx` Ansible Galaxy collection (v11.2.0 or later)\n\nAnd a `tower` variable map that defines your desired AWX configuration.\n\nAdditionally, at the moment, you **MUST** provide AWS credentials (typically\nallowing AWS S3 bucket access to plays that operate with S3) and Kubernetes\ncredentials. You will need to set the following environment variables prior\nto running Ansible: -\n\n-   `AWS_ACCESS_KEY_ID`\n-   `AWS_SECRET_ACCESS_KEY`\n-   `K8S_AUTH_HOST` (i.e. `https://1.2.3.4:6443`)\n-   `K8S_AUTH_API_KEY` (i.e. `kubeconfig-user-xvgfv.a-abcde:0000000000000`)\n-   `K8S_AUTH_VERIFY_SSL` (i.e. `no`)\n    \n...and in response the following custom credentials will be created on\nthe AWX server: -\n\n-   `aws (SELF)`\n-   `k8s (SELF)`\n\n\u003e   If you do not want the `aws (SELF)` credential do not define\n    `AWS_ACCESS_KEY_ID`. If you do not want the `k8s (SELF)` credential\n    do not define `K8S_AUTH_HOST`.\n\nRole Variables\n--------------\n\nThe role is controlled the `tower` variable, a map of material to be loaded: -\n\n    tower:\n      host: \u003cstring\u003e (e.g. 'https://awx.example.com')\n      admin_username: \u003cstring\u003e\n      admin_password: \u003cstring\u003e\n      organisation: \u003cstring\u003e\n      teams: [\u003cstring\u003e]\n      labels: [\u003cstring\u003e]\n      inventories: [\u003cInventory\u003e]\n      notifications: [\u003cNotification\u003e]\n      users: [\u003cUser\u003e]\n      credentials: [\u003cCredential\u003e]\n      projects: [\u003cProject\u003e]\n      job_templates: [\u003cJobTemplate\u003e]\n    \nWhere **Inventory** is: -\n\n    name: \u003cstring\u003e\n    hosts: [\u003cHost\u003e]\n    \n...and **Host** is: -\n\n    name: \u003cstring\u003e\n    groups: [\u003cstring\u003e]    \n\n...and **Notification** is: -\n\n    name:\n    kind:\n    \u003ckind-specific fields\u003e\n\n...and **User** is: -\n\n    first_name: \u003cstring\u003e\n    last_name: \u003cstring\u003e\n    username: \u003cstring\u003e\n    password: \u003cstring\u003e\n    email: \u003cstring\u003e\n    superuser: \u003cbool\u003e\n    teams: [\u003cstring\u003e]\n \n...and **Credential** is: -\n\n    name:\n    kind:\n    \u003ckind-specific fields\u003e\n\n...and **Project** is: -\n\n    name: \u003cstring\u003e\n    description: \u003cstring\u003e\n    scm_type: \u003cstring\u003e\n    scm_url: \u003cstring\u003e\n    scm_branch: \u003cstring\u003e\n    teams: [\u003cstring\u003e]\n\nAnd **JobTemplate** is: -\n\n    name: \u003cstring\u003e\n    project: \u003cstring\u003e\n    playbook: \u003cstring\u003e\n    ask_extra_vars: \u003cbool\u003e\n    extra_vars: \u003cstring\u003e\n    credentials: [\u003cstring\u003e]\n    inventory: [\u003cstring\u003e]\n    teams: [\u003cstring\u003e]\n    labels: [\u003cstring\u003e]\n\nDependencies\n------------\n\nYou will need: -\n\n-   `ansible`\n-   `jmespath`\n-   `ansible-tower-cli`\n-   The `awx.awx` Ansible Galaxy collection\n\nExample Playbook\n----------------\n\nYou don't need a playbook, you just need a set of parameters - a configuration\n(i.e. a `tower` map in a YAML file). If your configuration is defined in\n`config.yaml` then you can configure your AWX server with the following\ncommand: -\n\n    $ pip install -r requirements.txt\n    $ ansible-galaxy collection install -r requirements.yaml\n    \n    $ ansible localhost \\\n        -m include_role -a name=informaticsmatters.awx_composer \\\n        -e @config.yaml\n\nLicense\n-------\n\nApache 2.0 License\n\nAuthor Information\n------------------\n\nalanbchristie\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fansible-role-awx-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformaticsmatters%2Fansible-role-awx-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformaticsmatters%2Fansible-role-awx-composer/lists"}