Skip to content
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

bug in ufw.j2 template #151

Closed
Zurlys opened this issue Oct 26, 2017 · 0 comments
Closed

bug in ufw.j2 template #151

Zurlys opened this issue Oct 26, 2017 · 0 comments
Assignees
Labels

Comments

@Zurlys
Copy link

Zurlys commented Oct 26, 2017

Bug with Ubuntu 16.04+
With single quotes in /etc/default/ufw you encouter error when using ufw command.
F.ex.
srv1 # ufw status
ERROR: Missing policy for 'input'

Please change default POLICY values to be included into double quotes, not the single ones.
F.ex. change
DEFAULT_INPUT_POLICY='{{ ufw_default_input_policy }}'
to
DEFAULT_INPUT_POLICY="{{ ufw_default_input_policy }}"

@rndmh3ro rndmh3ro added the bug label Oct 27, 2017
@rndmh3ro rndmh3ro self-assigned this Oct 27, 2017
artem-sidorenko added a commit that referenced this issue Oct 28, 2017
replace single ticks with double ticks. fix #151
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this issue Aug 3, 2022
replace single ticks with double ticks. fix dev-sec#151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants