Methods to use:
- Using playbooks
- Using docker
- Python 3.6
- Should be K8s master (cluster api) running an active cluster
Default run:
$ ansible-playbook main.yml
Overriding any config
$ ansible-playbook main.yml -e action=deprovision
or simply edit config.yml
Default run:
$ docker container run parthyadav/cni-installer
Overriding any config
$ docker container run parthyadav/cni-installer -e action=deprovision
or simply mount new 'config.yml'
$ docker container run -v $(pwd)/config.yml:/playbooks/config.yml parthyadav/cni-installer