Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Fix problems reported by ansible-lint #56

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

ssbarnea
Copy link
Member

No description provided.

@ssbarnea ssbarnea requested a review from nbttmbrg as a code owner November 27, 2022 20:18
@ssbarnea ssbarnea added the bug Something isn't working label Nov 27, 2022
@ssbarnea ssbarnea merged commit dc7a9ca into ansible-community:main Nov 27, 2022
@ssbarnea ssbarnea deleted the fix/fqcn branch November 27, 2022 20:30
port: 5986
host: "{{ item.networkInterfaces.0.accessConfigs.0.natIP if molecule_yml.driver.external_access else item.networkInterfaces.0.networkIP }}"
delay: 10
loop: "{{ server.results }}"

- name: Prepare Windows User
script: ./files/windows_auth.py --instance {{ item.name }} --zone {{ item.zone | default(molecule_yml.driver.region + '-b') }} --project {{ gcp_project_id }} --username molecule_usr
ansible.builtin.script: ./files/windows_auth.py --instance {{ item.name }} --zone {{ item.zone | default(molecule_yml.driver.region + '-b') }} --project {{ gcp_project_id }} --username molecule_usr

Choose a reason for hiding this comment

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

Note that certain 2.9 / 2.10 versions have problems with free arguments when FQCNs are used, so this can potentially break compatibility.

(For example the Ansible version running in https://ansible.softwarefactory-project.io/zuul/status will produce really strange errors when you use ansible.builtin.command instead of command... Took me a while to figure out that simply reverting to command fixed them.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah. Anyway I am afraid that this might have being last attempt to resurrect this plugin. Nobody seems interested to take care of maintenance on it.

That is why I used major version. Not sure if you seen that were invalid jinja in ssh key, one extra curly brace. I wonder how many are using it in production...

Choose a reason for hiding this comment

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

I did see that, I was surprised that this didn't cause problems before (resp. I was wondering whether this actually was running successfully anywhere).

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm sorry but I don't have the intensive, time (or need for that matter...) to maintain this anymore... I know you requested a couple of reviews from me in the past but clearly I am not able to keep up.

I hope that it can still be useful to some people or that someone will have the motivation to take it into his own hands...

Copy link
Member Author

Choose a reason for hiding this comment

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

@nbttmbrg No worry and thanks for the time you spent on this. We will have to make some changes on how these plugins are maintained (or not) as too many changes are of the same nature and can be done across all plugins at once. I suspect we might put the plugins back in a single repository.

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

Successfully merging this pull request may close these issues.

None yet

3 participants