activate ssh and fail2ban roles only when enabled
This commit is contained in:
parent
794f0992e5
commit
93e5a4eab5
1 changed files with 4 additions and 2 deletions
|
@ -39,9 +39,11 @@
|
||||||
|
|
||||||
- role: galaxy/swap
|
- role: galaxy/swap
|
||||||
|
|
||||||
- role: galaxy/ssh
|
- when: system_security_ssh_enabled | bool
|
||||||
|
role: galaxy/ssh
|
||||||
|
|
||||||
- role: galaxy/fail2ban
|
- when: system_security_fail2ban_enabled | bool
|
||||||
|
role: galaxy/fail2ban
|
||||||
|
|
||||||
# This role exposes various tags (setup-postgres, setup-all, upgrade-postgres, import-postgres, etc.), so we don't tag it here.
|
# This role exposes various tags (setup-postgres, setup-all, upgrade-postgres, import-postgres, etc.), so we don't tag it here.
|
||||||
- role: galaxy/com.devture.ansible.role.postgres
|
- role: galaxy/com.devture.ansible.role.postgres
|
||||||
|
|
Loading…
Reference in a new issue