bug: driver.provider.name Overrided by VAGRANT_DEFAULT_PROVIDER - #155
bug: driver.provider.name Overrided by VAGRANT_DEFAULT_PROVIDER#155hswong3i wants to merge 1 commit into
driver.provider.name Overrided by VAGRANT_DEFAULT_PROVIDER#155Conversation
git clean -xdf
tar zcvf ../python-molecule-plugins_23.0.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.0.0-1.spec
mv ../python*-molecule-plugins*23.0.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.0.0
rm -rf ../python*-molecule-plugins*23.0.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.0-1.spec
mv ../python*-molecule-plugins*23.4.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.0
rm -rf ../python*-molecule-plugins*23.4.0*.*
See ansible-community#142
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.1-1.spec
mv ../python*-molecule-plugins*23.4.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.1
rm -rf ../python*-molecule-plugins*23.4.1*.*
See ansible-community#142
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.0.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.0.0-1.spec
mv ../python*-molecule-plugins*23.0.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.0.0
rm -rf ../python*-molecule-plugins*23.0.0*.*
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.0-1.spec
mv ../python*-molecule-plugins*23.4.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.0
rm -rf ../python*-molecule-plugins*23.4.0*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.1-1.spec
mv ../python*-molecule-plugins*23.4.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.1
rm -rf ../python*-molecule-plugins*23.4.1*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.0-1.spec
mv ../python*-molecule-plugins*23.4.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.0
rm -rf ../python*-molecule-plugins*23.4.0*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.1-1.spec
mv ../python*-molecule-plugins*23.4.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.1
rm -rf ../python*-molecule-plugins*23.4.1*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
driver.provider.name Overrided by VAGRANT_DEFAULT_PROVIDERdriver.provider.name Overrided by VAGRANT_DEFAULT_PROVIDER
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.0-1.spec
mv ../python*-molecule-plugins*23.4.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.0
rm -rf ../python*-molecule-plugins*23.4.0*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.4.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.4.1-1.spec
mv ../python*-molecule-plugins*23.4.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.4.1
rm -rf ../python*-molecule-plugins*23.4.1*.*
See ansible-community#142
See ansible-community#155
See ansible-community#156
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
|
Isn't this expected behaviour? |
Let's reference original code (see https://github.com/hashicorp/vagrant/blob/2092df529ae73bd0ae4d01e2d35c8952b9620988/lib/vagrant/environment.rb#L319-L332): Corresponding detail official documents (see https://developer.hashicorp.com/vagrant/docs/providers/basic_usage#default-provider):
With python-vagrant, it do able to specify the Within our current Molecule Vagrant plugin implementation, we suppose providing But the real behavior as mentioned in this PR, we DIDN'T pass this |
|
as I said in the past always forcing it is wrong too. It should always be possible to not force the provider, for cases where things are "just" working. |
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.0-1.spec
mv ../python*-molecule-plugins*23.5.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.0
rm -rf ../python*-molecule-plugins*23.5.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.0-1.spec
mv ../python*-molecule-plugins*23.5.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.0
rm -rf ../python*-molecule-plugins*23.5.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
|
I faced with this issue, but I don't have full knowledge of this source code, so shouldn't be better to just modify this line like this "provider": os.environ.get("VAGRANT_DEFAULT_PROVIDER", self._module.params["provider_name"]),So |
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.0-1.spec
cp ../python*-molecule-plugins*23.5.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.0
rm -rf ../python*-molecule-plugins*23.5.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.0-1.spec
cp ../python*-molecule-plugins*23.5.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.0
rm -rf ../python*-molecule-plugins*23.5.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.3.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.3-1.spec
cp ../python*-molecule-plugins*23.5.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.3
rm -rf ../python*-molecule-plugins*23.5.3*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.3.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.3-1.spec
cp ../python*-molecule-plugins*23.5.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.3
rm -rf ../python*-molecule-plugins*23.5.3*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.3.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.3-1.spec
cp ../python*-molecule-plugins*23.5.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.3
rm -rf ../python*-molecule-plugins*23.5.3*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.3.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.3-1.spec
cp ../python*-molecule-plugins*23.5.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.3
rm -rf ../python*-molecule-plugins*23.5.3*.*
See ansible-community#155
See ansible-community#237
See ansible-community#240
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.0-1.spec
cp ../python*-molecule-plugins*23.5.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.0
rm -rf ../python*-molecule-plugins*23.5.0*.*
See ansible-community#155
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.5.3.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.5.3-1.spec
cp ../python*-molecule-plugins*23.5.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.5.3
rm -rf ../python*-molecule-plugins*23.5.3*.*
See ansible-community#155
See ansible-community#237
See ansible-community#240
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
See ansible-community#294
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
See ansible-community#294
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
See ansible-community#294
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
7c3520b to
91a4433
Compare
91a4433 to
34ae076
Compare
@apatard shall this change good enough for not force the provider? https://github.com/ansible-community/molecule-plugins/pull/155/files#diff-30ead4a52f0571133aa1006c9db7ba491c6b7687b043fb70d7964cc3a4e33616R719 |
git clean -xdf
tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
rm -rf ../python*-molecule-plugins*23.6.0*.*
See ansible-community#155
See ansible-community#237
See ansible-community#294
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.7.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.7.0-1.spec
cp ../python*-molecule-plugins*23.7.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.7.0
rm -rf ../python*-molecule-plugins*23.7.0*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
git clean -xdf
tar zcvf ../python-molecule-plugins_23.7.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.7.0-1.spec
cp ../python*-molecule-plugins*23.7.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.7.0
rm -rf ../python*-molecule-plugins*23.7.0*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
In case environment variable `VAGRANT_DEFAULT_PROVIDER` is defined (see <https://www.vagrantup.com/docs/other/environmental-variables#vagrant_default_provider>), our `driver.provider.name` will have no effect and always start with above default provider as specifiied. With python-vagrant `up()` (see <https://github.com/pycontribs/python-vagrant/blob/main/src/vagrant/__init__.py#L310-L318>) we could specify the target provider with `provider` option, where our current wrapper only provide the `provision` option. See ansible-community/molecule-vagrant#174 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
34ae076 to
e9957c3
Compare
git clean -xdf
tar zcvf ../python-molecule-plugins_23.7.0.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-molecule-plugins.spec ../python-molecule-plugins_23.7.0-1.spec
cp ../python*-molecule-plugins*23.7.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.7.0
rm -rf ../python*-molecule-plugins*23.7.0*.*
See ansible-community#155
See ansible-community#237
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
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
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
|
Label error. Requires exactly 1 of: breaking, build, chore, ci, docs, feat, fix, perf, refactor, style, test. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly. |
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
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
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>
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>
In case environment variable
VAGRANT_DEFAULT_PROVIDERis defined (see https://www.vagrantup.com/docs/other/environmental-variables#vagrant_default_provider), ourdriver.provider.namewill have no effect and always start with above default provider as specifiied.With python-vagrant
up()(seehttps://github.com/pycontribs/python-vagrant/blob/main/src/vagrant/__init__.py#L310-L318) we could specify the target provider with
provideroption, where our current wrapper only provide theprovisionoption.See ansible-community/molecule-vagrant#174