Skip to content

Instantly share code, notes, and snippets.

@cobracmder
Last active August 29, 2015 14:02
Show Gist options
  • Save cobracmder/d2b8a018c8253e6a4123 to your computer and use it in GitHub Desktop.
Save cobracmder/d2b8a018c8253e6a4123 to your computer and use it in GitHub Desktop.
Zwift config files for ansible-zwift (for vagrant)
[management]
dev-management ansible_ssh_host=IP ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
[proxy]
dev-proxy ansible_ssh_host= ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
[zone-1]
dev-storage-z1 ansible_ssh_host= ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
[zone-2]
dev-storage-z2 ansible_ssh_host= ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
[zone-3]
dev-storage-z3 ansible_ssh_host= ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
[storage:children]
zone-1
zone-2
zone-3
[dev]
dev-management
dev-proxy
dev-storage-z3
dev-storage-z2
dev-storage-z1
prefix: dev
cluster_confirm: dev
swift_hash_prefix: CHANGEME
swift_statsd_host: dev-management
swift_carbon_host: dev-management
swift_collectd_host: dev-management
swift_syslog_host: dev-management
swift_ring_master_host: dev-management
swift_dsh_host: dev-management
swift_syslog_server_role: management
swift_lb_role: proxy
swift_ui_role: proxy
swift_generate_rings: true
swift_manage_disks: true
swift_manage_ring: true
swift_deployment_method: source
swift_part_power: 10
swift_replicas: 3
swift_min_part_hours: 1
swift_source_deploy_version: "swift-00044"
swift_base_repos:
"http://mirrors.kernel.org/ubuntu precise": ["main", "restricted", "universe"]
"http://mirrors.kernel.org/ubuntu precise-security": ["main", "restricted", "universe"]
"http://mirrors.kernel.org/ubuntu precise-updates": ["main", "restricted", "universe"]
swift_nets:
swift: 172.20.0.0/24
replication: 172.20.0.0/24
monitoring: 172.20.0.0/24
management: 172.20.0.0/24
proxy: 172.20.0.0/24
swift_auth_type: swauth
swift_swauth_key: CHANGEME
swift_common_extra_packages: ["emacs24-nox","vim-nox"]
#swift_swauth_auth_domain: auth.zerovm.org
#swift_swauth_cluster_domain: zebra.zerovm.org
swift_swauth_public_endpoint: "https://{{swift_swauth_cluster_domain}}/v1"
swift_users:
- user: admin
account: admin
password: CHANGEME
admin: true
reseller_admin: true
- user: reporter
account: dispersion
password: CHANGEME
admin: true
reseller_admin: true
swift_dispersion_key: CHANGEME
swift_dispersion_tenant: dispersion
swift_dispersion_user: reporter
#google_auth_client_id: undefined
#google_auth_client_secret: undefined
swift_haproxy_stats_net: "{{swift_nets['management']}}"
swift_haproxy_stats_ip: "{{lookup('hostip', 'cidr={{swift_haproxy_stats_net}}')}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment