Skip to content

roni5/ansible-collection-kubernetes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Collection - ericsysmin.kubernetes

Ansible collection that holds roles, that can be used to configure common kubernetes services.

Roles

Role Build Status Documentation
kubectl Role: ericsysmin.kubernetes.kubectl Documentation
kompose Role: ericsysmin.kubernetes.kompose Documentation

Usage

You can find specific to each role within the "Documentation" link for each role. However, most should be in this format.

---
- hosts: localhost
  connection: local
  tasks:
    - name: Include role
      include_role:
        name: ericsysmin.kubernetes.<role_name>
      vars:
        var1: value1
        var2: value2

Testing

Testing is done through GitHub Actions, and can be tested locally as well. GitHub Actions can be located here. Each workflow pertains to a single role, and can be launched locally using the following command:

MOLECULE_COMMAND={{ matrix.molecule_distro.command }} \
MOLECULE_DISTRO={{ matrix.molecule_distro.distro }} \
molecule --debug test -s {{ matrix.collection_role }}

To decide on the MOLECULE_COMMAND value please refer to the .github/workflow/{{ collection_role }}.yml file as it will have the value for proper kubernetesd services.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%