|
|
@ -21,7 +21,7 @@ kargo deploy --aws -u centos -n calico |
|
|
|
Building your own inventory |
|
|
|
--------------------------- |
|
|
|
|
|
|
|
Ansible inventory can be stored in 3 formats: YAML, JSON, or inifile. There is |
|
|
|
Ansible inventory can be stored in 3 formats: YAML, JSON, or INI-like. There is |
|
|
|
an example inventory located |
|
|
|
[here](https://github.com/kubernetes-incubator/kargo/blob/master/inventory/inventory.example). |
|
|
|
|
|
|
@ -47,8 +47,9 @@ Starting custom deployment |
|
|
|
Once you have an inventory, you may want to customize deployment data vars |
|
|
|
and start the deployment: |
|
|
|
|
|
|
|
**IMPORTANT: Edit my_inventory/groups_vars/*.yaml to override data vars** |
|
|
|
|
|
|
|
``` |
|
|
|
# Edit my_inventory/groups_vars/*.yaml to override data vars |
|
|
|
ansible-playbook -i my_inventory/inventory.cfg cluster.yaml -b -v \ |
|
|
|
--private-key=~/.ssh/private_key |
|
|
|
``` |
|
|
|