Skip to content

Ansible role for dynamically creating a vagrant inventory script with vagrant hosts on the same network.

Notifications You must be signed in to change notification settings

johnzac/ansible-vagrant-dynamic-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

ansible_projects

vagrantDynamicInventory: An ansible bootstapping role for using ansible to deploy to various vagrant machines in a local network. The ansible master would need ssh access to all machines hosting the vagrant machines. The role would create a vagrant inventory file with the public ip's of all vagrant machines running on the hosts( to be provided in the inventory when running the playbook) if the vagrant machines are assigned public ip's( bridged networking). If the vagrant machines are not using bridged networking, the role can set up the inventory so that ansible uses the remote host ip and port vagrant binds to to connect to the machines. It will modify the iptables rules in the remote hosts ans would need root access for this. More information is provided in the ansible README.

gatherApacheVHostData: An ansible role for gathering some basic facts from apache virtual hosts configuration. Works with CentOs and debian distros. The parameters to be gatherd should be specified in the vars folder and the response is a json.

About

Ansible role for dynamically creating a vagrant inventory script with vagrant hosts on the same network.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages