Skip to content

Commit e6e5343

Browse files
authored
Merge pull request #63 from bgraef/main
add code for olam cluster config
2 parents 3e8da30 + d41d5f1 commit e6e5343

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

olam/create_instance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@
308308
inventory_hostname in
309309
groups['control']|default([])
310310
+ groups['server']|default([])
311+
+ groups['execution']|default([])
312+
+ groups['db']|default([])
311313
312314
- name: Configure passwordless SSH
313315
ansible.builtin.include_tasks: "passwordless_setup.yml"

olam/default_vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ use_olam_pah: false
2727
add_pah_ports: false
2828
use_freeipa: false
2929
use_git: false
30+
add_cluster_ports: false
3031

3132
use_kvm: false
3233
create_vm: false

olam/deploy_olam_single.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@
211211
- name: Provision olam ansible container environment
212212
containers.podman.podman_image:
213213
name: container-registry.oracle.com/oracle_linux_automation_manager/olam-ee
214+
tag: 2.2
214215
become: true
215216
become_user: awx
216217

olam/provision_git_server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
scope: global
4444
value: main
4545

46-
- name: Initialize a bare repo
46+
- name: Initialize a bare repo # noqa: command-instead-of-module
4747
ansible.builtin.shell: |
4848
git init --bare
4949
args:

olam/templates/ingress_security_rules.j2

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,18 @@ instance_ingress_security_rules:
6565
destination_port_range:
6666
max: 443
6767
min: 443
68-
{% endif %}
68+
{% endif %}
69+
{% if add_cluster_ports %}
70+
- source: "10.0.0.0/24"
71+
protocol: 6
72+
tcp_options:
73+
destination_port_range:
74+
max: 5432
75+
min: 5432
76+
- source: "10.0.0.0/24"
77+
protocol: 6
78+
tcp_options:
79+
destination_port_range:
80+
max: 27199
81+
min: 27199
82+
{% endif %}

0 commit comments

Comments
 (0)