Skip to content

paunin/ansible-kubernetes-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

ansible-kubernetes-module

Module for ansible to setup kubernetes objects

Instalation

Alternatively you can put it in library directory with your playbook

|- playbook.yml
|- library
   |- kube_setup.py

Usage

- name: create k8s objects from file
  kube_setup:
    file: "object.yml"
    state: "present" # default = "present" [present|absent]
    strategy: "default" # default = default, means - use the most suitable [create_or_replace|create_or_apply|create_or_nothing]
    kubectl_opts: "--context=live" # default = ""

Releases

No releases published

Packages

No packages published

Languages