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

fix helloworld sample and ingress for quay ha #30

Merged
merged 3 commits into from
Sep 6, 2024
Merged
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
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 %}