forked from skippbox/kubeadm-centos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move environment specific variables into examples
Allow easy configuration to local environments
- Loading branch information
1 parent
732e962
commit e8e47c8
Showing
5 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Local environment specific variables | ||
vars/local_config.yml | ||
vars/secrets.yml |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
vars: | ||
ssh_key: k8s | ||
k8s_version: 1.4.0 | ||
k8s_num_nodes: 2 | ||
k8s_security_group_name: k8s | ||
k8s_node_prefix: kube | ||
k8s_username: foobar | ||
k8s_password: FdKPSuwQ | ||
# This template name is specific to http://exoscale.ch, replace it | ||
k8s_template: Linux CentOS 7.1 64-bit 50G Disk (2015-03-31-2230b6) | ||
k8s_instance_type: Tiny | ||
vars_files: | ||
- vars/local_config.yml | ||
- vars/secrets.yml | ||
|
||
roles: | ||
- common | ||
- k8s | ||
- common | ||
- k8s |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Update/replace this file with something appropriate to your environment | ||
ssh_key: k8s | ||
k8s_version: 1.4.0 | ||
k8s_num_nodes: 2 | ||
k8s_security_group_name: k8s | ||
k8s_node_prefix: kube | ||
k8s_username: foobar | ||
# This template name is specific to http://exoscale.ch, replace it | ||
k8s_template: Linux CentOS 7.1 64-bit 50G Disk (2015-03-31-2230b6) | ||
k8s_instance_type: Tiny |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ansible-vault encrypt this file | ||
k8s_password: FdKPSuwQ |