Install and configure CloudForms Management Engine environment from source. Uses Ansible as an alternative to Puppet.
- files - files and templates for use in playbooks/tasks
- group_vars - customize deployment by setting/replacing variables
- library - library of custom local ansible modules
- tasks - snippets of tasks that should be included in plays
- vars - os_release specific customizations
- ansible-1.2 (or newer)
- Access to the CFME private repo
-
Clone this repo
git clone https://github.com/aweiteka/ansible-cfme.git
-
Obtain a GitHub Personal API Access Tokens. This is required to download the cfme private repo.
-
Run the playbook:
ansible-playbook -i inventory -e "github_token=<my_github_token>" site.yml
-
Optional: To install VMWare VDDK (will reboot system) ...
$HOME/install_vddk.sh http://url/to/vmware-vix-disklib.tar
-
Start CFME:
cd /var/www/miq/vmdb bin/rake evm:start
- Installs all dependent packages and CFME source
- Starts postgresql and creates database
- Installs ruby in rbenv and performs a bundle install
- Replaces
/etc/sysconfig/iptables
to manage firewall.
- The github hosted ruby gem "net-ldap" returns unidentified UTF8 string during bundle install that Ansible cannot handle. The gemfile is updated to use the vendor gem as a workaround.
- Find a more elegant way to setup ruby environment. Perhaps, ansible modules (rbenv, gem and/or bundle)?
- Support ruby rvm environment.
- This is generally a work in progress.
Please send me feedback at [email protected] with issues or suggestions. Pull requests encouraged!