ansible/playbooks/pik8s.yml
Salt c5bd49b3ed Install openshift on k8s masters
It allows the k8s module to be used
2021-02-24 06:33:10 -06:00

23 lines
499 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: pik8s
roles:
- role: docker
tags: [ k8s, docker, skip-pull ]
- role: k8s
tags: [ k8s, skip-pull ]
- role: motd
vars:
motd_watch_services_extra:
- docker
- kubelet
tags: [ k8s, motd ]
- role: zerotier
tags: [ k8s, zerotier ]
- hosts: pik8s_masters
tasks:
- name: install openshift
pip: name=openshift state=latest
tags: [ k8s, packages, pip ]