{"id":19583815,"url":"https://github.com/bodsch/ansible-awscli","last_synced_at":"2026-03-06T08:05:02.017Z","repository":{"id":87294527,"uuid":"401606217","full_name":"bodsch/ansible-awscli","owner":"bodsch","description":"Command Line Interface for Amazon Web Services","archived":false,"fork":false,"pushed_at":"2025-12-01T07:06:09.000Z","size":139,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-03T18:33:01.299Z","etag":null,"topics":["automation","aws","aws-cli"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bodsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-31T07:04:49.000Z","updated_at":"2025-12-01T07:05:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"9eef3fa6-dd27-4dec-aa13-f3e417979682","html_url":"https://github.com/bodsch/ansible-awscli","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/bodsch/ansible-awscli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-awscli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-awscli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-awscli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-awscli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodsch","download_url":"https://codeload.github.com/bodsch/ansible-awscli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fansible-awscli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30166934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["automation","aws","aws-cli"],"created_at":"2024-11-11T07:44:57.724Z","updated_at":"2026-03-06T08:05:01.986Z","avatar_url":"https://github.com/bodsch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Ansible Role:  `awscli`\n\nAnsible role to setup aws-cli tools.\n\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bodsch/ansible-awscli/build.yml?logo=github\u0026branch=main)][ci]\n[![GitHub issues](https://img.shields.io/github/issues/bodsch/ansible-awscli?logo=github)][issues]\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bodsch/ansible-awscli?logo=github)][releases]\n[![Ansible Downloads](https://img.shields.io/ansible/role/d/bodsch/awscli?logo=ansible)][galaxy]\n\n[ci]: https://github.com/bodsch/ansible-awscli/actions\n[issues]: https://github.com/bodsch/ansible-awscli/issues?q=is%3Aopen+is%3Aissue\n[releases]: https://github.com/bodsch/ansible-awscli/releases\n[galaxy]: https://galaxy.ansible.com/ui/standalone/roles/bodsch/awscli/\n\nIf `latest` is set for `awscli_version`, the role tries to install the latest release version.  \n**Please use this with caution, as incompatibilities between releases may occur!**\n\nThe binaries are installed below `/usr/local/bin/aws_${awscli_version}` and later linked to `/usr/local/bin/aws`. \nThis should make it possible to downgrade relatively safely.\n\nThe AWSCLI archive is stored on the Ansible controller and is later copied to the target system.\nThe cache directory can be defined via the environment variable `CUSTOM_LOCAL_TMP_DIRECTORY`. \nBy default it is `${HOME}/.cache/ansible/awscli`.\nIf this type of installation is not desired, the download can take place directly on the target system. \nHowever, this must be explicitly activated by setting `awscli_direct_download` to `true`.\n\n\n## Requirements \u0026 Dependencies\n\nAnsible Collections\n\n- [bodsch.core](https://github.com/bodsch/ansible-collection-core)\n- [bodsch.scm](https://github.com/bodsch/ansible-collection-scm)\n\n```bash\nansible-galaxy collection install bodsch.core\nansible-galaxy collection install bodsch.scm\n```\nor\n```bash\nansible-galaxy collection install --requirements-file collections.yml\n```\n\n## Latest `awscli` Version\n\nCurrently there is only one old (2.0.0) release.  \nBut current tags can be verified at [GitHub](https://github.com/aws/aws-cli/tags).\n\n\n### Operating systems\n\nTested on\n\n* Arch Linux\n* Artix Linux\n* Debian based\n    - Debian 10 / 11 / 12\n    - Ubuntu 20.10 / 22.04\n\n\u003e **RedHat-based systems are no longer officially supported! May work, but does not have to.**\n\n\n## usage\n\n```yaml\nawscli_version: 2.2.33\n\nawscli_download_url: \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64{{ '' if awscli_version == 'latest' else '-' + awscli_version }}.zip\"\nawscli_archiv: \"aws-cli{{ '' if awscli_version == 'latest' else '-' + awscli_version }}.zip\"\n\nawscli_direct_download: false\n\nawscli_config: \"config.j2\"\nawscli_credentials: \"credentials.j2\"\n\nawscli_users: {}\n```\n\n### AWS credentials\n\nSupport multiple credentials per user.\n\nEvery user can hold more than one profile.\n\nEach profile, which is not `default`, gets a corresponding profile prefix.\n\nThe example below creates these config and credentials files:\n\n```bash\ncat /var/lib/jenkins/.aws/config\n[default]\nregion = eu-central-1\noutput = json\n\n[profile us-west]\nregion = us-west-1\noutput = text\n```\n\n```bash\ncat /var/lib/jenkins/.aws/credentials\n[default]\naws_access_key_id = molecule-aws-access-key-id\naws_secret_access_key = molecule-aws-secret-access-key\n\n[us-west]\naws_access_key_id = molecule-aws-access-key-id_2\naws_secret_access_key = molecule-aws-secret-access-key_2\n```\n\n```yaml\nawscli_users:\n  jenkins:\n    profiles:\n      default:\n        region: \"eu-central-1\"\n        output: \"json\"\n        access_key_id: \"molecule-aws-access-key-id\"\n        secret_access_key: \"molecule-aws-secret-access-key\"\n      us-west:\n        region: \"us-west-1\"\n        access_key_id: \"molecule-aws-access-key-id_2\"\n        secret_access_key: \"molecule-aws-secret-access-key_2\"\n    home: \"/var/lib\"\n    group: \"jenkins\"\n```\n\n[Howto use AWS Named Profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html)\n\n\n## Contribution\n\nPlease read [Contribution](CONTRIBUTING.md)\n\n## Development,  Branches (Git Tags)\n\nThe `master` Branch is my *Working Horse* includes the \"latest, hot shit\" and can be complete broken!\n\nIf you want to use something stable, please use a [Tagged Version](https://github.com/bodsch/ansible-awscli/tags)!\n\n\n## Author\n\n- Bodo Schulz\n\n## License\n\n[Apache](LICENSE)\n\n**FREE SOFTWARE, HELL YEAH!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-awscli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodsch%2Fansible-awscli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fansible-awscli/lists"}