vagrant-s3auth | Vagrant plugin for private , versioned boxes on Amazon S3 | AWS library
kandi X-RAY | vagrant-s3auth Summary
kandi X-RAY | vagrant-s3auth Summary
Vagrant plugin for private, versioned boxes on Amazon S3.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vagrant-s3auth
vagrant-s3auth Key Features
vagrant-s3auth Examples and Code Snippets
Community Discussions
Trending Discussions on vagrant-s3auth
QUESTION
All our vagrant boxes are stored on a private AWS s3, we used a plugin called vagrant-s3auth to download them. A week ago a policy update forced us to use MFA for authentication. I spent days finding a new plugin but no success. Most of the users aren't that tech-savy so a workaround is really my last option. I have basic ruby skills so I'm able to do some modifications to the plugin.
Many thanks, Sammy
...ANSWER
Answered 2019-Jan-31 at 17:27Why -1? Solved the problem. Fairly new plugin called "vagrant-s3auth-mfa". Tried it before and didn't work, seems to be updated. https://github.com/vrtdev/vagrant-s3auth
QUESTION
I'm trying to provision a vm using vagrant's ansible provisioner. But I have two playbooks and both need to use different ssh users. My use case is this, I have a pre-provisioning script that runs under the vagrant
ssh user that is set up by default. My pre-provision script then adds a different ssh user provisioner
that is set up to ssh onto the VM with its own key. The actual provision script has a task that deletes the insecure vagrant user on the system so it has to run as a different ssh user, provsioner
, the user that the pre-provisioner creates.
I can not figure out how to change the ssh user in the Vagrantfile. Example below is how far I've gotten. Despite changing the config.ssh.username
vagrant always sets the ssh user to the last value, in this case provisioner
and that doesn't authenticate when running the pre-provision script because it hasn't been created yet.
Can I override the ssh user somehow? Maybe with an ansible variable itself inside the do |ansible|
block (below)?
Is what I'm trying to achieve possible? It seems so straightforward I'm shocked I'm having this much trouble with it.
...ANSWER
Answered 2018-Mar-29 at 23:39You can set it in several places. Vagrantfile (but not config
, it will be overridden), through Ansible extravars:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vagrant-s3auth
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page