Skip to main content

Mistral Actions for Ansible

Note: This project is experimental and in infancy. It might work for you.

However, given interested users and the time I’d like to make it stable and useful - so input and help is very welcome!

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

Calling ansible:

action: ansible
input:
  hosts: '*'
  module: copy
  module_args: 'src=file.txt dest=/root/file.txt'
  remote_user: stack
  become: true
  become_user: root

Call ansible playbook:

action: ansible-playbook
input:
  limit_hosts: overcloud-controller-0
  playbook: /home/stack/ansible/my_playbook.yaml
  remote_user: stack
  become: true
  become_user: root

Plans/Ideas

  • We only support a subset of args ansible and ansible-playbook commands, more should be exposed. Maybe we can automatically add them all somehow?

Metadata

Release files for mistral-ansible-actions 0.2.2

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

Source distribution (sdist)

Source distribution for mistral-ansible-actions 0.2.2
File Size Uploaded Provenance Actions
mistral-ansible-actions-0.2.2.tar.gz 3.7 kB Without provenance Details for mistral-ansible-actions-0.2.2.tar.gz

Release files / mistral-ansible-actions-0.2.2.tar.gz

Download URL mistral-ansible-actions-0.2.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8dba8a723e22a26c688d2c698be79080fc328b57c4743916eb35ceac95480dea
BLAKE2b-256 checksum
How to use checksums
2ed9c743019c46ff14ebf8d767b8b5b5d6886c469533681cc0c2d38397b2d2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mistral-ansible-actions 0.2.2

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.

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