open ports 22, 80, 443 on coprs machines
This commit is contained in:
parent
dd111ea27e
commit
fe702d32ea
2 changed files with 17 additions and 1 deletions
|
@ -172,5 +172,13 @@
|
|||
owner=root
|
||||
group=copr
|
||||
|
||||
# open up ports (22, 80, 443)
|
||||
- name: poke holes in the firewall
|
||||
action: command lokkit $item
|
||||
with_items:
|
||||
- --service=ssh
|
||||
- --service=https
|
||||
- --service=http
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
|
|
@ -59,7 +59,15 @@
|
|||
|
||||
- name: copy pg_hba.conf
|
||||
action: copy src=$files/copr/fe/pg/pg_hba.conf dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres group=postgres mode=0600
|
||||
|
||||
|
||||
# open up ports (22, 80, 443)
|
||||
- name: poke holes in the firewall
|
||||
action: command lokkit $item
|
||||
with_items:
|
||||
- --service=ssh
|
||||
- --service=https
|
||||
- --service=http
|
||||
|
||||
- name: enable services
|
||||
action: service state=running enabled=yes name=$item
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue