Skip to content

Commit

Permalink
Merge pull request #30 from bgraef/main
Browse files Browse the repository at this point in the history
fix helloworld sample and ingress for quay ha
  • Loading branch information
bgraef authored Sep 6, 2024
2 parents 4a67404 + f3f3891 commit 9a5faa4
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
8 changes: 4 additions & 4 deletions labs/olam-hello-world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
gather_facts: false

tasks:
- name: Print welcome message
ansible.builtin.debug:
msg: "Hello! Welcome to Oracle Linux Automation Manager."

- name: Print welcome message
ansible.builtin.debug:
msg: "Hello! Welcome to Oracle Linux Automation Manager."
3 changes: 2 additions & 1 deletion ol/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ passwordless_ssh: false
use_podman: false
use_haproxy: false
use_nginx: false
use_nfs: false
use_nfs: false
use_quay_ha: false
32 changes: 32 additions & 0 deletions ol/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,36 @@ instance_ingress_security_rules:
destination_port_range:
max: 2049
min: 2049
{% endif %}
{% if use_quay_ha %}
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 2049
min: 2049
- source: "10.0.0.0/24"
protocol: 17
udp_options:
destination_port_range:
max: 2049
min: 2049
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 8080
min: 8080
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 5432
min: 5432
- source: "10.0.0.0/24"
protocol: 6
tcp_options:
destination_port_range:
max: 6379
min: 6379
{% endif %}

0 comments on commit 9a5faa4

Please sign in to comment.