Skip to content

metal-stack/metal-ansible-modules

Repository files navigation

Metal Ansible Modules

This repository contains modules and plugins for metal-stack.

The modules use metal-python for accessing the metal-api. Please make sure you use the correct version of this repository in order to be compatible with the API.

Modules

Module Name Description Requirements
metal_ip Manages metal-stack IP entities metal-python
metal_firewall Manages metal-stack firewall entities metal-python
metal_machine Manages metal-stack machine entities metal-python
metal_network Manages metal-stack network entities metal-python
metal_project Manages metal-stack project entities metal-python

Dynamic Inventories

Inventory Name Description
metal.py Dynamic inventory for metal-stack

Lookup Plugins

Inventory Name Description
metal Query the metal-api

Usage

It's convenient to use ansible-galaxy in order to use this project. For your project, set up a requirements.yml:

- src: https://github.com/metal-stack/metal-ansible-modules.git
  name: metal-ansible-modules
  version: master

You can then download the roles with the following command:

ansible-galaxy install -r requirements.yml

Then reference the roles in your playbooks like this:

- name: Deploy something
  hosts: localhost
  connection: local
  gather_facts: no
  roles:
    - metal-ansible-modules

About

Ansible modules for metal-stack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages