summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/vagrant.yml
diff options
context:
space:
mode:
authorPep TurrĂ³ Mauri <pep@redhat.com>2015-08-01 17:22:24 +0200
committerPep TurrĂ³ Mauri <pep@redhat.com>2015-08-03 17:11:57 +0200
commit5d7753a8ecb03634f045b057dc33369178615f92 (patch)
treebcfb268200c50f220496414a818de5e0875e72eb /playbooks/byo/vagrant.yml
parent8f951b8d458c9ec58614a65e4dad4f3ce2b74293 (diff)
downloadopenshift-5d7753a8ecb03634f045b057dc33369178615f92.tar.gz
openshift-5d7753a8ecb03634f045b057dc33369178615f92.tar.bz2
openshift-5d7753a8ecb03634f045b057dc33369178615f92.tar.xz
openshift-5d7753a8ecb03634f045b057dc33369178615f92.zip
Deploying enterprise with Vagrant
Diffstat (limited to 'playbooks/byo/vagrant.yml')
-rw-r--r--playbooks/byo/vagrant.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/playbooks/byo/vagrant.yml b/playbooks/byo/vagrant.yml
new file mode 100644
index 000000000..c89f8775b
--- /dev/null
+++ b/playbooks/byo/vagrant.yml
@@ -0,0 +1,14 @@
+---
+- hosts: all
+ vars:
+ deployment_type: "{{ openshift_deployment_type }}"
+ roles:
+ - role: rhel_subscribe
+ when: openshift_deployment_type == "enterprise" and
+ ansible_distribution == "RedHat" and
+ lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
+ default('no', True) | lower in ['no', 'false']
+ - openshift_repos
+ - os_update_latest
+
+- include: config.yml