A Mistral action to execute Ansible playbooks
Project description
Mistral Actions for Ansible
Note: This project is experimental and in infancy. It might work for you.
Install
The actions can be installed via pip, then we need to tell Mistral about them and restart Mistral:
pip install mistral-ansible-actions; sudo mistral-db-manage populate; systemctrl restart openstack-mistral*;
Usage
Simple task example:
task: action: ansible.playbook input: playbook: path/to/playbook.yaml
Optionally the directory can be provided if you want to execute the ansible-playbook command from a specific location:
task: action: ansible.playbook input: playbook: playbook.yaml directory: path/to
Plans/Ideas
“directory” should probably be renamed to “cwd” or something
We only support the ansible-playbook command, others should be added.
We only support the very minimum options for the ansible-playbook command, more should be exposed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mistral-ansible-actions-0.0.1.tar.gz
.
File metadata
- Download URL: mistral-ansible-actions-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a850407338a2fd61928bb2c4061a945b0c90198a4edef452e8dcd50d6794b6f2 |
|
MD5 | fab356185e6b38deb653ad6bd04d606e |
|
BLAKE2b-256 | c79c21ce75a5eecd631166d3b283ab09f4eeded313bac4ff24ef09fb8dd04b63 |