-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firewall: add role to configure ufw firewall #7
base: master
Are you sure you want to change the base?
Conversation
0c935a8
to
d9beb3f
Compare
Need local testing for |
roles/firewall/tasks/main.yml
Outdated
@@ -0,0 +1,43 @@ | |||
--- | |||
|
|||
- name: Install 'ufw' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the style, lowercase and don't quote ufw
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
roles/firewall/tasks/main.yml
Outdated
ufw: | ||
policy: deny | ||
|
||
- name: Set allow default policy for forwarding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we be installing our own config instead of editing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a template to build our own config, can you review?
Signed-off-by: Luís Ferreira <[email protected]>
d9beb3f
to
627878c
Compare
This is no longer in WIP state. I tested this config on the server and seems working fine. |
Signed-off-by: Luís Ferreira [email protected]