You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Sviatoslav Sydorenko 87662b82de
🔏📦 Sign distribution packages on release
This patch integrates an invocation of the `pypi-attestations`
tool[[1]] into the release automation before calling Twine. When
used locally and not within a known Trusted Publishing setup, it will
invoke an OAuth flow, opening a browser window, prompting the caller
to authenticate via GitHub. Once authorized and browser window closed,
it will proceed to signing the distribution packages[[2]] locally
using Sigstore. The resulting signatures are produced in the format
outlined in PEP 740 [[3]].

Twine is then called with `--attestations` which is what will actually
attach the digital signatures to the release on PyPI.

[1]: https://docs.pypi.org/attestations/producing-attestations/#using-pypi-attestations
[2]: https://packaging.python.org/en/latest/glossary/#term-Distribution-Package
[3]: https://peps.python.org/pep-0740/
2 days ago
.azure-pipelines Add support for Windows Server 2025 (#84285) 2 weeks ago
.github bump devel to 2.19 (#83985) 2 months ago
bin clean up ansible-connection (#82992) 7 months ago
changelogs ansible-test - Improve container network detection (#84323) 3 days ago
hacking Python binary should not be python at first try for env-setup.fish (#84212) 2 weeks ago
lib/ansible dnf5 - consolidate package resolving settings (#84335) 3 days ago
licenses Update PSF-license.txt to version from CPython 3.9.5. (#77805) 3 years ago
packaging 🔏📦 Sign distribution packages on release 2 days ago
test ansible-test - Improve container network detection (#84323) 3 days ago
.cherry_picker.toml 🚸 🐍 🍒 ⛏ Integrate cherry picker (#41403) 6 years ago
.git-blame-ignore-revs Enable bad-docstring-quotes pylint rule for core (#84100) 1 month ago
.gitattributes Makefile: Allow one to specify python version (#74517) 4 years ago
.gitignore Drop use of setup.py and setup.cfg (#81443) 3 months ago
.mailmap Fix syntax typo 7 years ago
COPYING Update URLs in COPYING (#80385) 2 years ago
MANIFEST.in Drop use of setup.py and setup.cfg (#81443) 3 months ago
README.md Update communication links for the forum (#83862) 2 months ago
pyproject.toml Drop use of setup.py and setup.cfg (#81443) 3 months ago
requirements.txt update ansible-galaxy resolvelib requirement to >= 0.5.3, < 2.0.0 (#84218) 2 weeks ago

README.md

PyPI version Docs badge Chat badge Build Status Ansible Code of Conduct Ansible mailing lists Repository License Ansible CII Best Practices certification

Ansible

Ansible is a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy. More information on the Ansible website.

Design Principles

  • Have an extremely simple setup process with a minimal learning curve.
  • Manage machines quickly and in parallel.
  • Avoid custom-agents and additional open ports, be agentless by leveraging the existing SSH daemon.
  • Describe infrastructure in a language that is both machine and human friendly.
  • Focus on security and easy auditability/review/rewriting of content.
  • Manage new remote machines instantly, without bootstrapping any software.
  • Allow module development in any dynamic language, not just Python.
  • Be usable as non-root.
  • Be the easiest IT automation system to use, ever.

Use Ansible

You can install a released version of Ansible with pip or a package manager. See our installation guide for details on installing Ansible on a variety of platforms.

Power users and developers can run the devel branch, which has the latest features and fixes, directly. Although it is reasonably stable, you are more likely to encounter breaking changes when running the devel branch. We recommend getting involved in the Ansible community if you want to run the devel branch.

Communication

Join the Ansible forum to ask questions, get help, and interact with the community.

For more ways to get in touch, see Communicating with the Ansible community.

Contribute to Ansible

  • Check out the Contributor's Guide.
  • Read Community Information for all kinds of ways to contribute to and interact with the project, including how to submit bug reports and code to Ansible.
  • Submit a proposed code update through a pull request to the devel branch.
  • Talk to us before making larger changes to avoid duplicate efforts. This not only helps everyone know what is going on, but it also helps save time and effort if we decide some changes are needed.

Coding Guidelines

We document our Coding Guidelines in the Developer Guide. We particularly suggest you review:

Branch Info

  • The devel branch corresponds to the release actively under development.
  • The stable-2.X branches correspond to stable releases.
  • Create a branch based on devel and set up a dev environment if you want to open a PR.
  • See the Ansible release and maintenance page for information about active branches.

Roadmap

Based on team and community feedback, an initial roadmap will be published for a major or minor version (ex: 2.7, 2.8). The Ansible Roadmap page details what is planned and how to influence the roadmap.

Authors

Ansible was created by Michael DeHaan and has contributions from over 5000 users (and growing). Thanks everyone!

Ansible is sponsored by Red Hat, Inc.

License

GNU General Public License v3.0 or later

See COPYING to see the full text.