1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

nmcli: set hairpin to str to bool (#45908)

Fix: nmcli module always sets hairpin mode to 1 for bridge slaves.

Closes #42569

Signed-off-by: Susant Sahani<susant@redhat.com>
This commit is contained in:
Susant Sahani 2018-09-27 22:46:19 +05:30 committed by Abhijeet Kasurde
parent 4c929d3a7a
commit aedcf9fed7

View file

@ -1195,7 +1195,7 @@ def main():
hellotime=dict(required=False, default="2", type='str'),
maxage=dict(required=False, default="20", type='str'),
ageingtime=dict(required=False, default="300", type='str'),
hairpin=dict(required=False, default=True, type='str'),
hairpin=dict(required=False, default=True, type='bool'),
path_cost=dict(required=False, default="100", type='str'),
# vlan specific vars
vlanid=dict(required=False, default=None, type='str'),