Created
June 9, 2016 09:08
-
-
Save echo-devnull/438a341379ee59944b996c4dc6760f0a to your computer and use it in GitHub Desktop.
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
#cloud-config | |
# Add groups to the system | |
# groups: | |
# - provision #: [ansible] | |
# ssh-authorized-keys: | |
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsHrUUZAfJeaDJ8gnUIMRPRL+r8LLrPV7jNPE8xFl5XUhhFdwCajta4r2nJ2mpkIIRJGJBWijmN7//r9b5H50KxWu6YBlEimtNomczs9oA2ijP0+o7buvx4xiC+pAo/taRz0E/dpd56Ef0qt3610gJe4yDuWlvgP+S1X1FnOcPcDfrCoxyUd5V9kA1G3/p9AjdlGQOGAN9VB0+IlIpN0EP2Vc5O79U0yQIzrEWLUG151/3/Cq3jFKQPeW0n9qQcTzwjwDMWfn8I5nHu+0o+C2QhBwm2TWhjUwl/LjKXzWtsXasDKaE+mnZsDar8SXnH/L9nuTUBVHaKexmSnyKJyPMcy0GfwbqOzDb16Z7xPsqlnohXa7P53QOalfwQjPkwdhCOdrSR0KL6xdUWg3o5EPtPfUPTIJbYj8uj5js+n93UJgQ5yLcGr/sro524tNmox/TTJOWsh5asWQoa5R/GZ1nwPEENeV7/wgeuFwm498JhnTOGpZG5D2dGI2dlo3vGebNQGRoG39+42aQ/jXZNvWvIsEpMJ1b7cDHdX+eV8cdTyWibGl5SN0JK8sUIGtzm0x/QYuih4Mgr2Nh/jxDIzMmm6FEzCIryc00MGTyTJxdtusf5hRRVYLlK1Q7qNN9jAUWspyMgZ6m+0pQEBN4/huCNPKeUstYqql8K1POu4UHqw== Mark Maas Persgroep | |
# Add users to the system. Users are added after groups are added. | |
users: | |
- name: ansible | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
shell: /bin/bash | |
ssh-authorized-keys: | |
- ssh-rsa x.c,vmx.vmxlvxlkvclvjxclxlvxlkvx/YU/rbhVeB30eW05Y4oSCUEDlvjLhxDAAdz1fETHBu+uDK1sHG51rVL6yqatR811J47zKgqo6sSxyS4LaWh2Led51NdkdyPsRR+PGacdfV9NY7hopB/aFKEP1xyPGWq837vHKNyNgGixbS+kD+PcM7HBWwMr965zFL44eLMeC1Kw/CJG3mNjKLFGa2nfHMev2C+v6ucIyn534m3HgSI8EKgV8L7sBO76eQ7vyWWZWFXGehJnBvYIx1Pgq1VQS/oHSmHcw5NKflUMASn49N40cSsSLWxioFVjD+bO+LlvQitWJY5Q3MX7CmOuOiNhkCqWWoC1F6qZkGJkVEWjsk0gHofLl8+gIiPkDr9DsQwGmddXrDy66afH8O9WxWqBi/PALOqXxklTGiPYS4MtTjTylmul9sjUAdTLbbHlugqhWMJkbfmsHrll2w6HnpX1A8WWy7OsS6/WkmTzVS8aAlOFzYM2LWOFK0eiK5XT6ytifgZALM5kW2bNt746HLoOzEqmHO3LIu2veO8olJk9S7L6aVTVgaHafxGzVpCEYWxFz2ZurKMbC9It0Wrr/50Y7TkyqQYzE3CJ6LkLnnutFm7eC6wtu/cmqxqpm+zGHbJ3+rs5u+Pw== ansible@servers | |
# growpart entry is a dict, if it is not present at all | |
# in config, then the default is used ({'mode': 'auto', 'devices': ['/']}) | |
# | |
# mode: | |
# values: | |
# * auto: use any option possible (any available) | |
# if none are available, do not warn, but debug. | |
# * growpart: use growpart to grow partitions | |
# if growpart is not available, this is an error. | |
# * off, false | |
# | |
# devices: | |
# a list of things to resize. | |
# items can be filesystem paths or devices (in /dev) | |
# examples: | |
# devices: [/, /dev/vdb1] | |
# | |
# ignore_growroot_disabled: | |
# a boolean, default is false. | |
# if the file /etc/growroot-disabled exists, then cloud-init will not grow | |
# the root partition. This is to allow a single file to disable both | |
# cloud-initramfs-growroot and cloud-init's growroot support. | |
# | |
# true indicates that /etc/growroot-disabled should be ignored | |
# | |
growpart: | |
mode: auto | |
devices: ['/'] | |
ignore_growroot_disabled: false | |
# Update apt database on first boot, and upgrade the system | |
apt_update: true | |
apt_upgrade: true | |
# Reboot in the end | |
power_state: | |
delay: "now" | |
mode: reboot | |
message: Bye Bye | |
timeout: 30 | |
condition: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment