-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move db firewall config to molecule inventory (#93)
Changes: In PR #53 I added `firewalld_internal_zone_sources` and `firewalld_internal_zone_open_services` to `playbooks/group_vars/db.yml`. This PR reverts that change since it prevents SSH from working on the `db` host on a new deployment (because it overrides `firewalld_internal_zone_sources` set at the inventory level).
- Loading branch information
1 parent
7684f11
commit 6e710ba
Showing
3 changed files
with
14 additions
and
7 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
7 changes: 7 additions & 0 deletions
7
playbooks/molecule/resources/omero/inventory/group_vars/db.yml
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,7 @@ | ||
--- | ||
# mirsg.infrastructure.firewalld | ||
firewalld_internal_zone_sources: | ||
- "{{ web_server.subnet | default(web_server.ip + '/32') }}" | ||
|
||
firewalld_internal_zone_open_services: | ||
- postgresql |
7 changes: 7 additions & 0 deletions
7
playbooks/molecule/resources/xnat/inventory/group_vars/db.yml
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,7 @@ | ||
--- | ||
# mirsg.infrastructure.firewalld | ||
firewalld_internal_zone_sources: | ||
- "{{ web_server.subnet | default(web_server.ip + '/32') }}" | ||
|
||
firewalld_internal_zone_open_services: | ||
- postgresql |