Skip to content

Commit

Permalink
Merge pull request #224 from lablabs/fix/nginx_ingress_config
Browse files Browse the repository at this point in the history
fix: Include ingress-nginx.yml only if rke2_ingress_nginx_values is not empty
  • Loading branch information
MonolithProjects authored Jun 5, 2024
2 parents 0aaaf7a + 5b4e3be commit 3be4b64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
ansible.builtin.include_tasks: ingress-nginx.yml
when:
- inventory_hostname == groups[rke2_servers_group_name].0
- rke2_ingress_nginx_values is defined
- rke2_ingress_nginx_values | length > 0

- name: Prepare very first server node in the cluster
ansible.builtin.include_tasks: first_server.yml
Expand Down

0 comments on commit 3be4b64

Please sign in to comment.