All my Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
618 B

---
- name: Bootstrap one or more RHEL7 nodes
hosts: bootstrap
become: no
roles:
- bootstrap
- register-rhn
- name: Install the required package for an OpenShift Lab
hosts: lab
become: yes
vars:
- basedir: "{{ lookup('env', 'BASEDIR') }}"
roles:
- { role: base }
- { role: openshift-prereq }
- { role: name-resolution }
- { role: docker, when: "'admin' not in group_names" }
- { role: nfs, when: "'admin' in group_names" }
- { role: openshift-install, when: "'admin' in group_names" }
- { role: openshift-postinstall, when: "'masters' in group_names" }