airflow-ansible-provider
An Airflow Ansible provider
Getting started
Please note that this file is no substitute for reading and understanding the Airflow documentation. This file is only intended to provide a quick start for the Ansible providers. Unless an issue relates specifically to the Ansible providers, the Airflow documentation should be consulted.
Install Airflow
Follow instructions at https://airflow.apache.org/docs/apache-airflow/stable/installation/index.html to install Airflow. If you just want to evaluate the SAS providers, then the simplest path would be to install via PYPI and run Airflow on the local machine in a virtual environment.
User's Guide
Follow the documents. Docs
Install the Ansible provider
If you want to build the package from these sources, install the build module using pip install build and then run python -m build from the root of the repository which will create a wheel file in the dist subdirectory.
Installing in a local virtual environment
The Ansible provider is available as a package published in PyPI. To install it, switch to the Python environment where Airflow is installed, and run the following command:
pip install airflow-ansible-provider
If you would like to install the provider from a package you built locally, run:
pip install dist/airflow_ansible_provider_xxxxx.whl
Installing in a container
There are a few ways to provide the package:
- Environment variable:
_PIP_ADDITIONAL_REQUIREMENTSSet this variable to the command line that will be passed topip install - Create a dockerfile that adds the pip install command to the base image and edit the docker-compose file to use "build" (there is a comment in the docker compose file where you can change it)
Running a DAG with a Ansible provider
See example files in the src/airflow_ansible_provider/example_dags directory. These dags can be modified and placed in your Airflow dags directory.
Mac note: If you are running Airflow standalone on a Mac, there is a known issue regarding how process forking works.
This causes issues with the urllib which is used by the operator. To get around it set NO_PROXY=* in your environment
prior to running Airflow in standalone mode.
Eg:
export NO_PROXY="*"
Contributing
We welcome your contributions! Please read CONTRIBUTING.md for details on how to submit contributions to this project.
License
This project is licensed under the Apache 2.0 License.
Metadata
Release files for airflow-ansible-provider 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airflow_ansible_provider-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for airflow_ansible_provider-0.6.0-py3-none-any.whl |
Release files / airflow_ansible_provider-0.6.0-py3-none-any.whl
| Download URL | airflow_ansible_provider-0.6.0-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
deaefc6635f9b562cc72c8114b958bd8d674b07e7d7ff7676f0e566b2cf4fda2
|
|
BLAKE2b-256 checksum How to use checksums |
67d98733e9f3c3a3a0661fcc6f4c5f298165d93044e4d38d4f9322d8b880c17b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.12
|
Security for airflow-ansible-provider 0.6.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.