Skip to main content

A data driven tool to run workflows using Ansible.

Project description

PyPI Package Documentation Status Repository License

Photon is a data driven tool designed to run workflows against an AZ using Ansible.

A workflow is comprised of one more more playbooks, each configurable with its own flags and options to be passed down to underlying call to ansible-playbook. It supports the ability to resume a workflow from any point in the event of a playbook failure.

Quick Start

Install photon using pip:

$ pip install python-photon

Create a file called photon.yml and define at least one AZ and workflow.

azs:
  proxmox:
    inventory: path/to/inventory
workflows:
  test_password_playbooks:
    playbooks:
      - path: playbooks/tests/update_passwords.yml

To execute a workflow against an AZ, simply run:

$ photon test_password_playbooks proxmox

Documentation

https://python-photon.readthedocs.io/

License

MIT

The logo is licensed under the Creative Commons NoDerivatives 4.0 License. If you have some other use in mind, contact us.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-photon-1.0.2.tar.gz (717.9 kB view details)

Uploaded Source

Built Distribution

python_photon-1.0.2-py2-none-any.whl (10.7 kB view details)

Uploaded Python 2

File details

Details for the file python-photon-1.0.2.tar.gz.

File metadata

File hashes

Hashes for python-photon-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8d180edefe9492ffe17ebe0bfb808ec29e7a4d6cb35c4b66e3df6c0eb63cf555
MD5 88c49d216b07cfd1994b9a2d422c44a6
BLAKE2b-256 6b41b2793e40106436ed397c722a6fa075fe4e1521e0a30aeb522ec62d278713

See more details on using hashes here.

File details

Details for the file python_photon-1.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for python_photon-1.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 2d84fd61c485dbb74e10ab6d41e315790b39a2fe7936fb4552b5a955d75a6bab
MD5 7854249f02bfd8db4e59a08507fd2cd5
BLAKE2b-256 aea749d195ebaaa2a4408f368553b53642983b7b69c998c837b08082fc33d57c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page