Skip to content

Commit 1abbab8

Browse files
committed
change async and poll and fix lint
1 parent efb59c6 commit 1abbab8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ocne2/deploy_ocne_libvirt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
name: oracle-olcne-release-el8
116116
state: present
117117
retries: 5
118-
delay: 10
118+
delay: 10
119119
when: ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
120120

121121
- name: Enable ocne repository

ocne2/deploy_ocne_oci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -292,22 +292,22 @@
292292
become: true
293293
become_user: "{{ username }}"
294294
async: 3600
295-
poll: 0
295+
poll: 10
296296
register: cluster_sleeper
297-
changed_when: provision_cluster.rc == 0
297+
changed_when: cluster_sleeper.rc == 0
298298

299299
- name: Print cluster provision output
300300
ansible.builtin.debug:
301301
var: cluster_sleeper
302302
when: debug_enabled
303303

304-
- name: Check on cluster provisioning
305-
ansible.builtin.async_status:
306-
jid: "{{ cluster_sleeper.ansible_job_id }}"
307-
register: job_result
308-
until: job_result.finished
309-
retries: 360
310-
delay: 10
304+
# - name: Check on cluster provisioning
305+
# ansible.builtin.async_status:
306+
# jid: "{{ cluster_sleeper.ansible_job_id }}"
307+
# register: job_result
308+
# until: job_result.finished
309+
# retries: 360
310+
# delay: 10
311311

312312
- name: Add kubeconfig to .bashrc file
313313
ansible.builtin.lineinfile:

0 commit comments

Comments
 (0)