Last active
March 30, 2016 18:42
-
-
Save EntropyWorks/ac681ccfe98d1f928dd87a4c4fd18217 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| cores_nodes: | |
| - { serial: "2M251101N6", hostname: "sl2500-01-node01" } | |
| - { serial: "2M251101N7", hostname: "sl2500-01-node02" } |
This file contains hidden or 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: Create CoreOS cloud-init files | |
| template: src=templates/coreos.j2 dest=output/{{ item.serial }} | |
| with_items: cores_nodes |
This file contains hidden or 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
| #cloud-config | |
| hostname: "hostname" | |
| manage_etc_hosts: "localhost" | |
| ssh_authorized_keys: | |
| {% for key in vars['ssh_keys'] %} | |
| - {{ key }} | |
| {{% endfor %}} |
This file contains hidden or 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
| --- | |
| # vars file for cloud-init | |
| ssh_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmAE7w9wf | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCSIZwRR2B |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment