Skip to content

Replace connection variable with ansible_connection#345

Open
anxstj wants to merge 1 commit intoansible-community:mainfrom
anxstj:replace_connection
Open

Replace connection variable with ansible_connection#345
anxstj wants to merge 1 commit intoansible-community:mainfrom
anxstj:replace_connection

Conversation

@anxstj
Copy link
Copy Markdown

@anxstj anxstj commented Oct 31, 2025

The connection variable is deprecated, instead ansible_connection should be used.

see: intro_inventory

There's usually a warning about it:

[WARNING]: Found variable using reserved name 'connection'.
Origin: /root/.cache/molecule/test.libvirt/default/inventory/ansible_inventory.yml:23:7
21         -o StrictHostKeyChecking=no
22       ansible_user: vagrant
23       connection: ssh

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 31, 2025

Label error. Requires exactly 1 of: breaking, chore, feat, fix. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly.

@anxstj anxstj force-pushed the replace_connection branch from 4b37e67 to 0156ffa Compare October 31, 2025 13:57
hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Jan 12, 2026
    git clean -xdf
    tar zcvf ../python-molecule-plugins_25.8.12.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_25.8.12-1.spec
    cp ../python*-molecule-plugins*25.8.12*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-25.8.12
    rm -rf ../python*-molecule-plugins*25.8.12*.*

See ansible-community#155
See ansible-community#237
See ansible-community#345

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Feb 16, 2026
    git clean -xdf
    tar zcvf ../python-molecule-plugins_25.8.12.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_25.8.12-1.spec
    cp ../python*-molecule-plugins*25.8.12*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-25.8.12
    rm -rf ../python*-molecule-plugins*25.8.12*.*

See ansible-community#155
See ansible-community#237
See ansible-community#345

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@lucagubler
Copy link
Copy Markdown

Is there any progress on this issue?

@anxstj
Copy link
Copy Markdown
Author

anxstj commented Mar 27, 2026

I don't know how to add the missing label. Maybe someone can add that manually.

@lucagubler
Copy link
Copy Markdown

I don't know how to add the missing label. Maybe someone can add that manually.

I don't think we can do that ourselves. Maybe one of the maintainers will have to do that...

@anxstj
Copy link
Copy Markdown
Author

anxstj commented Mar 30, 2026

@ssbarnea could you add the fix label?

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.

2 participants