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

Use 'private' variable for netbox_config (#66) #108

Merged
merged 1 commit into from
Oct 29, 2020

Commits on Sep 1, 2020

  1. Use 'private' variable for netbox_config (lae#66)

    This works around the problem in lae#66 that if you use the (increasingly more
    common) include_role pattern variables you set externally could appear
    immutable to the role logic. Thus, using set_fact with a combine() to
    add SECRET_KEY to netbox_config will not work as expected.
    
    Introducing a new 'private' (and thus mutable) variable in
    load_variables works around the problem and allows the include_role
    pattern to work.
    beddari committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    0ec819b View commit details
    Browse the repository at this point in the history