Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

A collection of ansible scripts to setup VMs on a vcloud (VMware vCloud Director 5.1)...

Create a vApp:

ansible-playbook -vvvv -i hosts -c ssh -e@./secret.yml -e@./create_vapp_vars_customized.yml create_vapp.yml --ask-vault-pass

secret.yml example

api_host: https://_your_vcloud_api_host_
api_user: _api_username_
api_password: _api_password_

~/.ssh/config example

Host bastion
    HostName _bastion_hostname_
    Port _bastion_port_

Host 192.168.*
    ProxyCommand ssh -A ansible@bastion -W %h:%p

setup ssh key on a vm example

ansible-playbook -i hosts -c ssh setup_ssh_key.yml --extra-vars "hosts=... key_tag=vm" --ask-pass

or

ansible-playbook -i hosts -c ssh setup_ssh_key.yml --extra-vars "hosts=... ansible_ssh_port=... key_tag=bastion" --ask-pass

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.