-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from Aeyk/ubuntu
Ubuntu compatibility
- Loading branch information
Showing
22 changed files
with
234 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
python3-dev [compile platform:dpkg] | ||
python3-devel [compile platform:rpm] | ||
python39-devel [compile platform:centos-8 platform:rhel-8] | ||
git-lfs [platform:rpm] | ||
python3-netaddr [platform:rpm] | ||
python3-lxml [platform:rpm] | ||
python3-jmespath [platform:rpm] | ||
python3-requests [platform:rpm] | ||
git-lfs [platform:rpm platform:dpkg] | ||
python3-netaddr [platform:rpm platform:dpkg] | ||
python3-lxml [platform:rpm platform:dpkg] | ||
python3-jmespath [platform:rpm platform:dpkg] | ||
python3-requests [platform:rpm platform:dpkg] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
- name: Include firewall config tasks | ||
ansible.builtin.include_tasks: iptables.yml | ||
when: keycloak_configure_iptables | ||
tags: | ||
- firewall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
- name: Ensure required package iptables are installed | ||
ansible.builtin.include_tasks: fastpackages.yml | ||
vars: | ||
packages_list: | ||
- iptables | ||
|
||
- name: "Configure firewall ports for {{ keycloak.service_name }}" | ||
become: true | ||
ansible.builtin.iptables: | ||
destination_port: "{{ item }}" | ||
action: "insert" | ||
rule_num: 6 # magic number I forget why | ||
chain: "INPUT" | ||
policy: "ACCEPT" | ||
protocol: tcp | ||
loop: | ||
- "{{ keycloak_http_port }}" | ||
- "{{ keycloak_https_port }}" | ||
- "{{ keycloak_management_http_port }}" | ||
- "{{ keycloak_management_https_port }}" | ||
- "{{ keycloak_jgroups_port }}" | ||
- "{{ keycloak_ajp_port }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
- name: Include firewall config tasks | ||
ansible.builtin.include_tasks: firewalld.yml | ||
when: keycloak_configure_firewalld | ||
tags: | ||
- firewall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
- name: Include firewall config tasks | ||
ansible.builtin.include_tasks: iptables.yml | ||
when: keycloak_configure_iptables | ||
tags: | ||
- firewall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: Ensure required package iptables are installed | ||
ansible.builtin.include_tasks: fastpackages.yml | ||
vars: | ||
packages_list: | ||
- iptables | ||
|
||
- name: "Configure firewall ports for {{ keycloak.service_name }}" | ||
become: true | ||
ansible.builtin.iptables: | ||
destination_port: "{{ item }}" | ||
action: "insert" | ||
rule_num: 6 # magic number I forget why | ||
chain: "INPUT" | ||
policy: "ACCEPT" | ||
protocol: tcp | ||
loop: | ||
- "{{ keycloak_quarkus_http_port }}" | ||
- "{{ keycloak_quarkus_https_port }}" | ||
- "{{ keycloak_quarkus_jgroups_port }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
- name: Include firewall config tasks | ||
ansible.builtin.include_tasks: firewalld.yml | ||
when: keycloak_quarkus_configure_firewalld | ||
tags: | ||
- firewall |
Oops, something went wrong.