Add new infra collection
This commit is contained in:
parent
43fbb3993b
commit
745f6acc04
3
skylab/infra/README.md
Normal file
3
skylab/infra/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Ansible Collection - skylab.infra
|
||||||
|
|
||||||
|
Documentation for the collection.
|
14
skylab/infra/galaxy.yml
Normal file
14
skylab/infra/galaxy.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
namespace: skylab
|
||||||
|
name: core
|
||||||
|
version: 0.0.0
|
||||||
|
description: Network deployment procedures and configuration state management
|
||||||
|
authors:
|
||||||
|
- Ethan Paul <me@enp.one>
|
||||||
|
license:
|
||||||
|
- MIT
|
||||||
|
readme: README.md
|
||||||
|
tags: []
|
||||||
|
repository: https://vcs.enp.one/skylab/skylab-ansible/
|
||||||
|
build_ignore: []
|
||||||
|
|
||||||
|
dependencies: {}
|
52
skylab/infra/meta/runtime.yml
Normal file
52
skylab/infra/meta/runtime.yml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
---
|
||||||
|
# Collections must specify a minimum required ansible version to upload
|
||||||
|
# to galaxy
|
||||||
|
# requires_ansible: '>=2.9.10'
|
||||||
|
|
||||||
|
# Content that Ansible needs to load from another location or that has
|
||||||
|
# been deprecated/removed
|
||||||
|
# plugin_routing:
|
||||||
|
# action:
|
||||||
|
# redirected_plugin_name:
|
||||||
|
# redirect: ns.col.new_location
|
||||||
|
# deprecated_plugin_name:
|
||||||
|
# deprecation:
|
||||||
|
# removal_version: "4.0.0"
|
||||||
|
# warning_text: |
|
||||||
|
# See the porting guide on how to update your playbook to
|
||||||
|
# use ns.col.another_plugin instead.
|
||||||
|
# removed_plugin_name:
|
||||||
|
# tombstone:
|
||||||
|
# removal_version: "2.0.0"
|
||||||
|
# warning_text: |
|
||||||
|
# See the porting guide on how to update your playbook to
|
||||||
|
# use ns.col.another_plugin instead.
|
||||||
|
# become:
|
||||||
|
# cache:
|
||||||
|
# callback:
|
||||||
|
# cliconf:
|
||||||
|
# connection:
|
||||||
|
# doc_fragments:
|
||||||
|
# filter:
|
||||||
|
# httpapi:
|
||||||
|
# inventory:
|
||||||
|
# lookup:
|
||||||
|
# module_utils:
|
||||||
|
# modules:
|
||||||
|
# netconf:
|
||||||
|
# shell:
|
||||||
|
# strategy:
|
||||||
|
# terminal:
|
||||||
|
# test:
|
||||||
|
# vars:
|
||||||
|
|
||||||
|
# Python import statements that Ansible needs to load from another location
|
||||||
|
# import_redirection:
|
||||||
|
# ansible_collections.ns.col.plugins.module_utils.old_location:
|
||||||
|
# redirect: ansible_collections.ns.col.plugins.module_utils.new_location
|
||||||
|
|
||||||
|
# Groups of actions/modules that take a common set of options
|
||||||
|
# action_groups:
|
||||||
|
# group_name:
|
||||||
|
# - module1
|
||||||
|
# - module2
|
33
skylab/infra/plugins/README.md
Normal file
33
skylab/infra/plugins/README.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Collections Plugins Directory
|
||||||
|
|
||||||
|
This directory can be used to ship various plugins inside an Ansible collection. Each
|
||||||
|
plugin is placed in a folder that is named after the type of plugin it is in. It can also
|
||||||
|
include the `module_utils` and `modules` directory that would contain module utils and
|
||||||
|
modules respectively.
|
||||||
|
|
||||||
|
Here is an example directory of the majority of plugins currently supported by Ansible:
|
||||||
|
|
||||||
|
```
|
||||||
|
└── plugins
|
||||||
|
├── action
|
||||||
|
├── become
|
||||||
|
├── cache
|
||||||
|
├── callback
|
||||||
|
├── cliconf
|
||||||
|
├── connection
|
||||||
|
├── filter
|
||||||
|
├── httpapi
|
||||||
|
├── inventory
|
||||||
|
├── lookup
|
||||||
|
├── module_utils
|
||||||
|
├── modules
|
||||||
|
├── netconf
|
||||||
|
├── shell
|
||||||
|
├── strategy
|
||||||
|
├── terminal
|
||||||
|
├── test
|
||||||
|
└── vars
|
||||||
|
```
|
||||||
|
|
||||||
|
A full list of plugin types can be found at
|
||||||
|
[Working With Plugins](https://docs.ansible.com/ansible-core/2.14/plugins/plugins.html).
|
Reference in New Issue
Block a user