Last active
June 6, 2017 05:49
-
-
Save sigma/0e723a04dfc2c5b11319 to your computer and use it in GitHub Desktop.
custom #ansible roles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost ansible_connection=local | |
coreos181 ansible_ssh_host=172.16.78.181 | |
coreos182 ansible_ssh_host=172.16.78.182 | |
coreos183 ansible_ssh_host=172.16.78.183 | |
[core] | |
coreos181 | |
coreos182 | |
coreos183 | |
[core:vars] | |
ansible_python_interpreter="PATH=/home/core/bin:$PATH python" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: bootstrap coreos hosts | |
hosts: core | |
gather_facts: False | |
roles: | |
- role: "sigma.coreos-bootstrap" | |
- name: ca | |
hosts: localhost | |
roles: | |
- role: "sigma.etcd-ca" | |
etcd_ca_crt_group: "core" | |
etcd_ca_depot: "/tmp/etcd-ca-depot" | |
- name: bootstrap etcd cluster | |
hosts: core | |
roles: | |
- role: "sigma.etcd-cluster" | |
etcd_ca_host: "localhost" | |
etcd_ca_depot: "/tmp/etcd-ca-depot" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment