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

Gives false positive error on set_facts #286

Open
JakkuSakura opened this issue Mar 6, 2021 · 0 comments
Open

Gives false positive error on set_facts #286

JakkuSakura opened this issue Mar 6, 2021 · 0 comments

Comments

@JakkuSakura
Copy link

Reproduce steps

I have

- name: Set asg_properties variable from JSON output if the Auto Scaling Group already exists
  set_fact:
    asg_properties: "{{ (asg_properties_result.stdout | from_json).AutoScalingGroups[0] }}"
  when: (asg_properties_result.stdout | from_json).AutoScalingGroups | count

Expected Results

No warnings

Actual Results

image
Says missing property key_value. The key_value is not an actual key_value and there is no need to gives an error

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

1 participant