Skip to content

Commit c409e52

Browse files
committed
fix networking being required during site.yml ansible-init,openondemand_desktop,openondemand_jupyter - only reqd during build
1 parent 125669f commit c409e52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/bootstrap.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@
311311
- hosts: ansible_init
312312
gather_facts: yes
313313
become: yes
314-
environment: "{{ appliances_environment_vars }}"
315314
tags: linux_ansible_init
316315
tasks:
317316
- name: Install ansible-init

ansible/portal.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- import_role:
2222
name: openondemand
2323
tasks_from: vnc_compute.yml
24+
when: "{{ appliances_mode != 'configure' }}" # is run during build
2425

2526
- hosts: openondemand_jupyter
2627
tags:
@@ -33,3 +34,4 @@
3334
- import_role:
3435
name: openondemand
3536
tasks_from: jupyter_compute.yml
37+
when: "{{ appliances_mode != 'configure' }}" # is run during build

0 commit comments

Comments
 (0)