Skip to content

glesys/molecule-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Molecule GleSYS Plugin

Molecule driver to spin up and run tests in GleSYS Cloud servers for easy testing

Installation and Usage

pip install molecule-glesys

Create a new role with molecule using this driver:

molecule init role <role_name> -d molecule-glesys

Configure <role_name>/molecule/default/molecule.yml with required parameters.
Sample config:

dependency:
  name: galaxy
  options:
    requirements-file: molecule/default/collections.yml
driver:
  name: molecule-glesys
  vm_username: molecule

platforms:
  - name: "demo.demo-ubuntu-20-04"
    template: Ubuntu 20.04 LTS (Focal Fossa)
    description: "ubuntu-20-04"
    datacenter: "Falkenberg"
    platform: KVM
    cpus: 2
    memory: 2048
    disk: 20

  - name: "demo.demo-debian-11"
    template: Debian 11 (Bullseye)
    description: "debian-11"
    datacenter: "Falkenberg"
    platform: KVM
    cpus: 2
    memory: 2048
    disk: 20

provisioner:
  name: ansible
verifier:
  name: ansible

API Authentication

Use the environment variables GLESYS_PROJECT and GLESYS_APIKEY to authenticate with the GleSYS API.

export GLESYS_PROJECT=CL12345
export GLESYS_APIKEY=abc123foo9876

License

The MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages