-
Notifications
You must be signed in to change notification settings - Fork 40
/
27_ocp_install.yml
27 lines (24 loc) · 1.04 KB
/
27_ocp_install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
- name: Let's install OCP
hosts: bastion
vars_files:
- vars/cluster_vars.yml
tasks:
- name: State message
ansible.builtin.debug:
msg: All VMs booted up, using the MAC-tailored pxeboot configuration
- name: Waiting for bootstrap to complete # noqa command-instead-of-shell no-changed-when
ansible.builtin.shell: openshift-install wait-for bootstrap-complete --dir {{ workspace_directory.base_path }}/{{ cluster.name }}/{{ workspace_directory.config_dir }} # noqa yaml[line-length]
retries: 10
delay: 5
register: result
until: result.rc == 0
- name: Waiting for install to complete # noqa command-instead-of-shell no-changed-when
ansible.builtin.shell: openshift-install wait-for install-complete --dir {{ workspace_directory.base_path }}/{{ cluster.name }}/{{ workspace_directory.config_dir }} # noqa yaml[line-length]
retries: 10
delay: 5
register: result
until: result.rc == 0
- name: Jedy
ansible.builtin.debug:
msg: May OCP be with you