Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.35 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.35 KB

Ansible Collection for NIFCLOUD

This is an unofficial Ansible collection to manage NIFCLOUD resources.

Installation

First of all, this collection requires dependencies.

pip3 install nifcloud==0.3.1

You can use ansible-galaxy CLI to install this collection.

ansible-galaxy collection install git+https://github.com/tottoto/ansible-collection-nifcloud.git

Or, you can also add an entry for this collection to requirements.yml.

collections:
  - name: https://github.com/tottoto/ansible-collection-nifcloud.git
    type: git

Then you can install this collection by this command.

ansible-galaxy collection install -r requirements.yml

Usage

Module

The supported modules are located in module directory. If there is some_module_name.py file in the module directory, the module FQCN is tottoto.nifcloud.some_module_name.

You can get the documentation for modules by ansible-doc CLI. For example, you can use this command to get tottoto.nifcloud.computing_key documentation.

ansible-doc tottoto.nifcloud.computing_key

Inventory

The supported inventories are located in inventory directory. For example, the documentation is shown by this command.

ansible-doc -t inventory tottoto.nifcloud.nifcloud_computing