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

Important

azs.<name>.inventory is the only required value when defining an AZ. workflows.<name>.playbooks is the only required value when defining a workflow.

To execute a workflow against an AZ, simply run:

$ photon test_password_playbooks proxmox

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
python_photon-1.0.2-py2-none-any.whl (10.7 kB) Copy SHA256 hash SHA256 Wheel py2
python-photon-1.0.2.tar.gz (717.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page