ansible/playbooks/pik8s.yml

22 lines
434 B
YAML
Raw Normal View History

2021-02-28 19:48:42 -06:00
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
# k8s
- hosts: pik8s
2021-02-28 21:18:00 -06:00
gather_facts: no
2021-02-28 19:48:42 -06:00
roles:
- role: k8s
tags: [ k8s, skip-pull ]
- role: motd
vars:
motd_watch_services_extra:
- docker
- kubelet
tags: [ k8s, motd ]
- hosts: pik8s_masters
2021-02-28 21:18:00 -06:00
gather_facts: no
2021-02-28 19:48:42 -06:00
tasks:
- name: install openshift
pip: name=openshift state=latest
tags: [ k8s, packages, pip ]