-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Update iptables.py #41245
Update iptables.py #41245
Conversation
added to documentation the required variable 'protocol' for variable destination_port.
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.
You can't put a ":" on documation, it's yaml so it considers the line as a dict.
You have to encapsulate the line between quotes (see "description" of the parameter "to_ports")
The test
The test
The test
The test
The test
The test
The test
The test
|
@sebastiendarocha thank you, I forgot about double quotes and already fix it. |
shipit Thanx :) |
shipit 👍 |
To me it looks like we should enforce this in the code (or fail early). Would this make sense? |
It makes sense because if you regularly use this role you know how right use this option, |
SUMMARY
Added to documentation the required variable 'protocol' for variable destination_port.
ISSUE TYPE
Docs Pull Request
COMPONENT NAME
iptables.py
ANSIBLE VERSION
ADDITIONAL INFORMATION