Skip to content

Commit 9a5faa4

Browse files
authored
Merge pull request #30 from bgraef/main
fix helloworld sample and ingress for quay ha
2 parents 4a67404 + f3f3891 commit 9a5faa4

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

labs/olam-hello-world.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
gather_facts: false
1010

1111
tasks:
12-
13-
- name: Print welcome message
14-
ansible.builtin.debug:
15-
msg: "Hello! Welcome to Oracle Linux Automation Manager."
12+
13+
- name: Print welcome message
14+
ansible.builtin.debug:
15+
msg: "Hello! Welcome to Oracle Linux Automation Manager."

ol/default_vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ passwordless_ssh: false
4343
use_podman: false
4444
use_haproxy: false
4545
use_nginx: false
46-
use_nfs: false
46+
use_nfs: false
47+
use_quay_ha: false

ol/templates/ingress_security_rules.j2

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,36 @@ instance_ingress_security_rules:
5353
destination_port_range:
5454
max: 2049
5555
min: 2049
56+
{% endif %}
57+
{% if use_quay_ha %}
58+
- source: "10.0.0.0/24"
59+
protocol: 6
60+
tcp_options:
61+
destination_port_range:
62+
max: 2049
63+
min: 2049
64+
- source: "10.0.0.0/24"
65+
protocol: 17
66+
udp_options:
67+
destination_port_range:
68+
max: 2049
69+
min: 2049
70+
- source: "10.0.0.0/24"
71+
protocol: 6
72+
tcp_options:
73+
destination_port_range:
74+
max: 8080
75+
min: 8080
76+
- source: "10.0.0.0/24"
77+
protocol: 6
78+
tcp_options:
79+
destination_port_range:
80+
max: 5432
81+
min: 5432
82+
- source: "10.0.0.0/24"
83+
protocol: 6
84+
tcp_options:
85+
destination_port_range:
86+
max: 6379
87+
min: 6379
5688
{% endif %}

0 commit comments

Comments
 (0)