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

Undefined variable in ansible export #189

Closed
duhlig opened this issue Nov 27, 2020 · 1 comment
Closed

Undefined variable in ansible export #189

duhlig opened this issue Nov 27, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@duhlig
Copy link

duhlig commented Nov 27, 2020

  • Type: Bug or PEBKAC
  • OKIT version: 0.14.1
  • Component: Ansible generator
  • Severity: medium, workaround possible
  • Description:
    • To reproduce: I "draw" a rudimentary configuration with only one VCN and the bastion fragment. Only the bastion's subnet CIDR needs to be changed. Then I export the content to Ansible.
    • Problem: In okit-ansible.zip/main.yml the task named "Create Security List okit-bastion-sl" tries to use the variable Okit_Vcn001_default_security_list_id and fails.
    • Workaround: This variable should have been set in set_fact just after "Create Virtual Cloud Network okit-vcn001" but is missing there. It can manually be added in main.yml
  • Attached files:
toxophilist added a commit that referenced this issue Dec 9, 2020
Undefined variable in ansible export (Issue #189)
@toxophilist toxophilist added the bug Something isn't working label Dec 9, 2020
@toxophilist
Copy link
Member

Variable will be added in the 0.15.0 release.

Just as an FYI we will be upgrading to the Ansible Collection version of the in the New Year

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants