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

Enable FQCN debug output #112

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Enable FQCN debug output #112

merged 2 commits into from
Apr 19, 2024

Conversation

jjo93sa
Copy link
Contributor

@jjo93sa jjo93sa commented Apr 17, 2024

When working on an Azimuth appliance, Ansible linting complains about:

  1. Using the freeform version of debug for the outputs task
  2. Not using the FQCN of the debug builtin

This PR addresses both issues, enabling output parsing when the appliance Ansible task looks like this:

- ansible.builtin.debug: 
    var: outputs 
  vars: 
    outputs: 
      cluster_access_ip: "{{ cluster_floating_ip_address | default(None) }}" 
  delegate_to: localhost

Ansible linting complains about:

1. Using the freeform version of debug
2. Not using the FQCN of the debug builtin

This PR addresses both issues, enabling output parsing when the
appliance Ansible task looks like this:

- ansible.builtin.debug:
    var: outputs
  vars:
    outputs:
      cluster_access_ip: "{{ cluster_floating_ip_address | default(None) }}"
  delegate_to: localhost
from azimuth_caas_operator.utils import cluster_type as cluster_type_utils
from azimuth_caas_operator.utils import image as image_utils
from azimuth_caas_operator.utils import k8s


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the space changes are causing problems here. I think these need reverting please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be done in 63f25f6

Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I think this is more important than fixing all the jobs, this seems low enough risk to merge, and revert if it breaks those tests.

@JohnGarbutt JohnGarbutt merged commit fab74db into stackhpc:main Apr 19, 2024
4 of 7 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants