Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add internet variable #311

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,21 @@
package:
name: "{{ packages }}"
state: present
when: internet

- name: Install packages for DHCP/PXE install
package:
name: "{{ dhcppkgs }}"
state: present
when: not staticips
when:
- not staticips
- internet

- name: Install additional package for Intel platforms
package:
name: "{{ syslinuxpkgs }}"
state: present
when: not staticips and not ppc64le
when: not staticips and not ppc64le and internet

- name: Remove existing config files
import_tasks: remove_old_config_files.yaml
Expand Down Expand Up @@ -559,7 +562,9 @@
state: absent

- name: Install and configure helm
when: helm_source is defined
when:
- helm_source is defined
- internet
block:
- name: Create helm source directory
file:
Expand Down
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ setup_registry:
registry_user: "admin"
registry_password: "admin"
machineconfig_path: ../machineconfig
internet: true