pandemonium1986.os_vms

Ansible role : OpenStack Vms

Ansible Role Gitlab pipeline status GitHub release Github license Ansible Quality Score

Deploy vms into an OpenStack project.

Disclaimer

!!! This images is no longer support.!!!

Requirements

This role is not self contained. He requires pandemonium1986.os_appliances to work correctly.

  ansible-galaxy install -f pandemonium1986.os_appliances

Role Variables

From defaults/main.yml :

osvms_users:
  - pandemonium
osvms_openstack_project_name: "pandama"
osvms_vms:
  - { name: "default", flavor: "tiny", image: "cirros", auto_ip: true, delete_fip: true, volume_size: 10 }

Dependencies

  • pandemonium1986.os_appliances

Example Playbook

- name : Openstack deployement
  hosts: local
  become: true
  tasks:
    - import_role:
        name: pandemonium1986.os_appliances

Note

osvms_openstack_project_name must be the same as the one declared in os_appliances.
For molecule users you have to export two variables :

  • OPENSTACK_HOSTNAME="your_open_stack_fqdn"
  • OPENSTACK_IP="your_open_stack_ip"

The goal is to add an entry in the hosts file of container

export OPENSTACK_HOSTNAME="your_open_stack_fqdn" export OPENSTACK_IP="your_open_stack_ip"
molecule test

License

This project is licensed under the MIT License - see the LICENSE file for details

Author Information

About

Create openstack virtual machines

Install
ansible-galaxy install pandemonium1986.os_vms
GitHub repository
License
mit
Downloads
88
Owner
SRE CI/CD and DevOps enthusiast