Skip to content

Instantly share code, notes, and snippets.

@daswars
daswars / vms.yml
Created July 5, 2017 12:28 — forked from jackprice/vms.yml
Ansible+vSphere+Kickstart Playbook
- hosts: all
connection: local
become: no
vars:
vsphere_hostname: "{{ lookup('env', 'VSPHERE_HOSTNAME') }}"
vsphere_username: "{{ lookup('env', 'VSPHERE_USERNAME') }}"
vsphere_password: "{{ lookup('env', 'VSPHERE_PASSWORD') }}"
vsphere_datacenter: changeme
#
# Nginx proxy for Elasticsearch + Kibana
#
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
#
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
#
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of