Skip to main content

Ansible module for the Waldur API.

Project description

This repository contains collection of Ansible modules to allow provisioning and management of infrastructure under Waldur through Ansible playbooks.

Supported functionality

  • OpenStack VM provisioning.

  • Security group manipulations.

  • Floating IP assignment.

See also: http://docs.ansible.com/ansible/modules.html

How to

Configure an Ansible playbook with parameters

name: Trigger master instance
waldur_os_add_instance:
  access_token: "{{ access_token }}"
  api_url: "{{ api_url }}"
  flavor: m1.micro
  floating_ip: auto
  image: CentOS 7
  name: "{{ instance_name }}"
  project: "OpenStack Project"
  provider: VPC
  ssh_key: ssh1.pub
  subnet: vpc-1-tm-sub-net-2
  system_volume_size: 40
  wait: false

Pass parameters to an Ansible playbook

ANSIBLE_LIBRARY=/usr/share/ansible-waldur/ ansible -m waldur_os_get_instance -a "api_url=https://waldur.example.com/api/ access_token=9036194e1ac54cada3248a8c6b203bf7 name=instance-name project='Project name'" localhost

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

ansible-waldur-module-0.4.0.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file ansible-waldur-module-0.4.0.tar.gz.

File metadata

File hashes

Hashes for ansible-waldur-module-0.4.0.tar.gz
Algorithm Hash digest
SHA256 617f4846645ddb4cc13ee335cebe6830d53e1d068db03e68781f26e4c28e962e
MD5 b2352ce008b659dca553a548527e3222
BLAKE2b-256 51fdeccbd5e71f78f973651203082810fa34b76c96a120c6d6c566c5d24caf60

See more details on using hashes here.

Supported by

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