Skip to content

Commit

Permalink
test firewall on abid-staging
Browse files Browse the repository at this point in the history
add variables to group_vars
add firewall role to playbook with a default to staging
  • Loading branch information
kayiwa committed Oct 10, 2024
1 parent ed87339 commit e3c5cf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions group_vars/abid/staging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
# firewall
firewall_allowed_networks:
- 128.112.200.0/21
firewall_allowed_ports:
- port: 80
- port: 443
postgres_host: "lib-postgres-staging1.princeton.edu"
postgres_version: 15
postgresql_is_local: false
Expand Down
2 changes: 2 additions & 0 deletions playbooks/abid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- ../group_vars/abid/{{ runtime_env | default('staging') }}.yml
- ../group_vars/abid/vault.yml
roles:
- role: roles/firewall
when: runtime_env == "staging"
- role: roles/abid

post_tasks:
Expand Down

0 comments on commit e3c5cf8

Please sign in to comment.