Merge pull request #13 from ansibl8s/separate_apps_playbook

Separate apps deploy from cluster deploy
This commit is contained in:
Smaine Kahlouch 2015-11-20 10:54:46 +01:00
commit d94bc8e599
2 changed files with 18 additions and 6 deletions

18
apps.yml Normal file
View file

@ -0,0 +1,18 @@
---
- hosts: kube-master
roles:
# System
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# Databases
- { role: apps/k8s-postgres, tags: ['postgres', 'apps'] }
- { role: apps/k8s-elasticsearch, tags: ['es', 'apps'] }
# Monitoring
- { role: apps/k8s-influxdb, tags: ['influxdb', 'apps']}
- { role: apps/k8s-heapster, tags: ['heapster', 'apps']}
- { role: apps/k8s-kubedash, tags: ['kubedash', 'apps']}
# Console
- { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
- { role: apps/k8s-kube-ui, tags: ['kube-ui', 'apps'] }

View file

@ -18,9 +18,3 @@
- hosts: kube-node - hosts: kube-node
roles: roles:
- { role: kubernetes/node, tags: node } - { role: kubernetes/node, tags: node }
#- hosts: kube-master
# roles:
# Apps to be installed
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }