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

Issue with ansible code in main.yml when creating tcp options #65

Closed
sunil-warrier opened this issue Aug 5, 2020 · 1 comment
Closed

Comments

@sunil-warrier
Copy link

OKIt v 0.8.0
When: Create a diagram with security list having ingress or egress rule with tcp options. After exporting this into ansible, the main.yml shows max and min variables without quotes. This is causing issues with parsing yaml. Once i put them in quotes the issue gets resolved.
For example:
+--------------------------------------+
tcp_options:
destination_port_range:
min: {{ Okit_Sl002_ingress_rule_01_tcp_dst_min }}
max: {{ Okit_Sl002_ingress_rule_01_tcp_dst_max }}
# Required
- protocol: "{{ Okit_Sl002_ingress_rule_02_protocol }}"
source: "{{ Okit_Sl002_ingress_rule_02_source }}"
# Optional
source_type: "{{ Okit_Sl002_ingress_rule_02_source_type }}"
tcp_options:
destination_port_range:
min: {{ Okit_Sl002_ingress_rule_02_tcp_dst_min }}
max: {{ Okit_Sl002_ingress_rule_02_tcp_dst_max }}
# Optional
+--------------------------------------+

toxophilist added a commit that referenced this issue Aug 5, 2020
@toxophilist
Copy link
Member

Fixed in 0.9.0 odd though given they are integer values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants