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.52, 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.52.1

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

Built distribution (wheel)

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

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

Download URL hegemony_steps_ansible-0.52.1-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8afa58dc70320f012aa59ecbbd456f144766e95e8c6e72ce44ecd731facdce7f
BLAKE2b-256 checksum
How to use checksums
2d0c3c63cd65dfadb0ca56d1718169bdaa2308508d6b88b0344cc99ea2615f55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for hegemony-steps-ansible 0.52.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.52.1 This release

1 release file No 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