Skip to main content

hegemony-steps-ansible

Ansible for Hegemony flows — the ansible. namespace.

Handlers: ansible.playbook — run a playbook from the flow's attachments against the step's target devices. The inventory is generated from Hegemony's inventory (local devices and external providers such as NetBox or Git alike), grouped by flow role, platform, site, tag, and provider, so a playbook needs no hand-kept hosts file. Device credentials, secret references, and Ansible Vault passwords are resolved by the platform, handed to Ansible as files inside the step's container, and redacted from output. Results are recorded per device, and check mode with diff gives a dry run to review before an approval.

The playbook runs on the platform's Docker-in-Docker sandbox through container.run's runner (this wheel depends on hegemony-steps-container), under the flow's egress policy. The default execution image, ghcr.io/hegemony-sh/ansible-runner:0.59, is built from images/ansible-runner/ in this repository and published on ghcr.io with every release (tagged X.Y.Z and X.Y; the step names its own minor version). It has ansible-core 2.19: the tag names a plugin release, so each run reports the exact version in its output (ansible_version), and only a minor release of the plugins moves to another ansible-core series. The step's ansible-core version setting picks a series instead of the default: 2.19 or 2.21, each published as its own tag (X.Y-core2.21). To add collections or host it yourself, build it from images/ansible-runner/, push it under your own tag, and set the step's Execution image. Any Ansible execution environment image works.

Metadata

Release files for hegemony-steps-ansible 0.59.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hegemony-steps-ansible 0.59.1
File Size Uploaded Provenance Actions
hegemony_steps_ansible-0.59.1.tar.gz 42.2 kB With provenance Details for hegemony_steps_ansible-0.59.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hegemony-steps-ansible 0.59.1
File Interpreter ABI Platform Actions
hegemony_steps_ansible-0.59.1-py3-none-any.whl Python 3 none any Details for hegemony_steps_ansible-0.59.1-py3-none-any.whl

Total release size: 90.3 kB

Release files / hegemony_steps_ansible-0.59.1.tar.gz

Download URL hegemony_steps_ansible-0.59.1.tar.gz
Size 42.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2780605ef68c855f2662c4d6688172518747b3fc458612314e755ad6a5265804
BLAKE2b-256 checksum
How to use checksums
c1c5f26a3308d3aadd97c99df9cab97ebb049a00384dd1d75a18662f5f93d89c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / hegemony_steps_ansible-0.59.1-py3-none-any.whl

Download URL hegemony_steps_ansible-0.59.1-py3-none-any.whl
Size 48.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4538585e96b314e7469a64c61dd8dd9a42b95d1135de0fd440de59f0b54b8457
BLAKE2b-256 checksum
How to use checksums
15fb72780683fcd2e4ea7843d7a193b962d27ca8aa6520cc40969111f2698467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for hegemony-steps-ansible 0.59.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hegemony_steps_ansible-0.59.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.59.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page