GithubHelp home page GithubHelp logo

gcoop-libre / ansible-collection-cloudstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ngine-io/ansible-collection-cloudstack

0.0 1.0 0.0 436 KB

CloudStack Ansible Collections

Home Page: https://galaxy.ansible.com/ngine_io/cloudstack

License: GNU General Public License v3.0

Shell 0.09% Python 99.86% Jinja 0.06%

ansible-collection-cloudstack's Introduction

Collection integration Codecov License

Ansible Collection for Apache CloudStack Clouds

This collection provides a series of Ansible modules and plugins for interacting with the Apache CloudStack Cloud.

Requirements

  • ansible version >= 2.9

Installation

To install the collection hosted in Galaxy:

ansible-galaxy collection install ngine_io.cloudstack

To upgrade to the latest version of the collection:

ansible-galaxy collection install ngine_io.cloudstack --force

Usage

Playbooks

To use a module from Apache CloudStack collection, please reference the full namespace, collection name, and modules name that you want to use:

---
- name: Using Apache CloudStack collection
  hosts: localhost
  tasks:
    - ngine_io.cloudstack.cs_instance:
      ...

Or you can add full namepsace and collecton name in the collections element:

---
- name: Using Apache CloudStack collection
  hosts: localhost
  collections:
    - ngine_io.cloudstack
  tasks:
    - cs_instance:
      ...

Roles

For existing Ansible roles, please also reference the full namespace, collection name, and modules name which used in tasks instead of just modules name.

Plugins

To use a plugin, please reference the full namespace, collection name, and plugin name that you want to use:

plugin: ngine_io.cloudstack.cloudstack

Contributing

There are many ways in which you can participate in the project, for example:

  • Submit bugs and feature requests, and help us verify as they are checked in
  • Review source code changes
  • Review the documentation and make pull requests for anything from typos to new content
  • If you are interested in fixing issues and contributing directly to the code base, please see the CONTRIBUTING document.

Run tests

Activate env setup of ansible core:

git clone [email protected]:ansible/ansible.git
cd ansible
source hacking/env-setup

Clone the repo:

git clone [email protected]:ngine-io/ansible-collection-cloudstack.git
cd ansible-collection-cloudstack

Run tests in docker with cloudstack simulator:

# All tests (note the trailing slash in `cloud/cs/`)
ansible-test integration --docker --color --diff -v cloud/cs/

# One test e.g. cs_instance (note no trailing slash in `cloud/cs/cs_instance`)
ansible-test integration --docker --color --diff -v cloud/cs/cs_instance

# Run tests for code you changed
ansible-test integration --docker --color --diff -v --changed cloud/cs/

License

GNU General Public License v3.0

See COPYING to see the full text.

ansible-collection-cloudstack's People

Contributors

bilalstanz avatar dependabot[bot] avatar derjd avatar dpassante avatar jespada avatar kovukono avatar livegrenier avatar niwo avatar olivierlemasle avatar pearl1594 avatar resmo avatar rohityadavcloud avatar rvalle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.