Skip to main content

ansible-role-apply

Apply a single Ansible role to host(s) easily

Example usage

$ ansible-role-apply --help
Usage: ansible-role-apply [OPTIONS] ROLE HOSTS

Options:
  -s, --sudo / --no-sudo
  --show-playbook / --no-show-playbook
  --help                          Show this message and exit.

$ ansible-role-apply docker vagrant --sudo
...
PLAY [vagrant] ****************************************************************

GATHERING FACTS ***************************************************************
ok: [vagrant]
...
PLAY RECAP ********************************************************************
vagrant                    : ok=16   changed=1    unreachable=0    failed=0

$ ansible-role-apply docker vagrant --sudo --show-playbook
-------------------------------------------------------------------------------
#!/usr/bin/env ansible-playbook
---
- hosts:
    - vagrant
  roles:
    - docker
  sudo: True
-------------------------------------------------------------------------------

|---> plugin activated: /Users/marca/dev/surveymonkey/smstack/smstack/ansible/plugins/no_hosts_matched_fail.pyc
|---> plugin activated: /Users/marca/dev/surveymonkey/smstack/smstack/ansible/plugins/sm_app_role.pyc
|---> plugin activated: /Users/marca/dev/surveymonkey/smstack/smstack/ansible/plugins/teamcity_messages.pyc

PLAY [vagrant] ****************************************************************
...
PLAY RECAP ********************************************************************
vagrant                    : ok=16   changed=1    unreachable=0    failed=0

Metadata

Release files for ansible_role_apply 0.0.0

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

Source distribution (sdist)

Source distribution for ansible_role_apply 0.0.0
File Size Uploaded Provenance Actions
ansible_role_apply-0.0.0.tar.gz 1.9 kB Without provenance Details for ansible_role_apply-0.0.0.tar.gz

Release files / ansible_role_apply-0.0.0.tar.gz

Download URL ansible_role_apply-0.0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69e9924e96af71ff4be969b60437935dbdde974669321e6eff81c26249168fe3
BLAKE2b-256 checksum
How to use checksums
f04c9e57d5279deb76d7cd57444abd50caffaacae98eff5a4d7a8ad8c3872f26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ansible_role_apply 0.0.0

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.0.0 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