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
os_port - allow port_security_enabled boolean flag to be controlled by the module #24694
Labels
affects_2.2
This issue/PR affects Ansible v2.2
cloud
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
openstack
support:community
This issue/PR relates to code supported by the Ansible community.
Comments
ansibot
added
affects_2.2
This issue/PR affects Ansible v2.2
cloud
feature_idea
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
openstack
labels
May 16, 2017
gundalow
removed
the
needs_triage
Needs a first human triage before being processed.
label
May 18, 2017
ansibot
added
the
support:community
This issue/PR relates to code supported by the Ansible community.
label
Jun 29, 2017
ansibot
added
feature
This issue/PR relates to a feature request.
and removed
feature_idea
labels
Mar 2, 2018
ansibot
added
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
and removed
support:community
This issue/PR relates to code supported by the Ansible community.
labels
Sep 19, 2018
ansibot
added
support:community
This issue/PR relates to code supported by the Ansible community.
and removed
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
labels
Oct 5, 2018
FYI, as a workaround, if your entire network requires port security to be disabled, you can do so in |
needs_contributor |
ansibot
added
the
waiting_on_contributor
This would be accepted but there are no plans to actively work on it.
label
Oct 13, 2018
I have been using shell module as a workaround. It's not optimal, but gets the job done. Being able to use single module rather then 2 would be much cleaner. Thanks for looking into it. |
sivel
removed
the
waiting_on_contributor
This would be accepted but there are no plans to actively work on it.
label
Dec 3, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.2
This issue/PR affects Ansible v2.2
cloud
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
openstack
support:community
This issue/PR relates to code supported by the Ansible community.
ISSUE TYPE
COMPONENT NAME
os_port
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
N/A
SUMMARY
The os_port ansible module currently support many parameters for creating/updating and deleting port described in here:
https://docs.ansible.com/ansible/os_port_module.html
Unfortunately port_security_enabled boolean flag is not one of the options. The defualt value is set to True.
OpenStack cli allows to set this flag as follows (example):
neutron port-update c080dbeb-491e-46e2-ab7e-192e7627d050 --port-security-enabled=False
Since my use case requires to disable the port security on only certain ports attached to the VM I am unable to automate this task with ansible.
STEPS TO REPRODUCE
the openstack CLI command to disable port-security:
No equivalent in os_port ansible module
EXPECTED RESULTS
port security disabled for created port
ACTUAL RESULTS
no way to execute that using os_port
The text was updated successfully, but these errors were encountered: