diff options
author | Diego Castro <spinolacastro@gmail.com> | 2015-08-15 16:37:48 -0300 |
---|---|---|
committer | Diego Castro <spinolacastro@gmail.com> | 2015-08-15 16:37:48 -0300 |
commit | e7925364342c9a324d91e750ba56aa41ad789419 (patch) | |
tree | 289116d3a701ad67730794f8bcf7d71dbdc657f4 /playbooks/byo | |
parent | 1d764a0bebbbb12e3c3142c59b10fae34c8b7211 (diff) | |
parent | 30d653aa5b776afbf35c98b1b5e7436f8cb7123c (diff) | |
download | openshift-e7925364342c9a324d91e750ba56aa41ad789419.tar.gz openshift-e7925364342c9a324d91e750ba56aa41ad789419.tar.bz2 openshift-e7925364342c9a324d91e750ba56aa41ad789419.tar.xz openshift-e7925364342c9a324d91e750ba56aa41ad789419.zip |
Merge remote-tracking branch 'openshift/master' into project_config
Diffstat (limited to 'playbooks/byo')
-rw-r--r-- | playbooks/byo/rhel_subscribe.yml | 12 | ||||
-rw-r--r-- | playbooks/byo/vagrant.yml | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml new file mode 100644 index 000000000..f564905ea --- /dev/null +++ b/playbooks/byo/rhel_subscribe.yml @@ -0,0 +1,12 @@ +--- +- hosts: all + vars: + openshift_deployment_type: "{{ deployment_type }}" + roles: + - role: rhel_subscribe + when: 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 diff --git a/playbooks/byo/vagrant.yml b/playbooks/byo/vagrant.yml new file mode 100644 index 000000000..76246e7b0 --- /dev/null +++ b/playbooks/byo/vagrant.yml @@ -0,0 +1,4 @@ +--- +- include: rhel_subscribe.yml + +- include: config.yml |