summaryrefslogtreecommitdiff
path: root/cloud_init.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_init.cfg')
-rw-r--r--cloud_init.cfg10
1 files changed, 2 insertions, 8 deletions
diff --git a/cloud_init.cfg b/cloud_init.cfg
index 6ec4701..fd79267 100644
--- a/cloud_init.cfg
+++ b/cloud_init.cfg
@@ -1,7 +1,5 @@
#cloud-config
hostname: ${nom}
-manage_etc_hosts: true
-fqdn: ${nom}
users:
- name: ansible
@@ -13,12 +11,6 @@ users:
sudo: ['ALL=(ALL) NOPASSWD:ALL']
shell: /bin/bash
-
-runcmd:
- - cp /etc/skel/.* /home/ansible/
- - chown ansible:ansible /home/ansible/.*
- - ${package}
-
write_files:
- path: /home/ansible/helloworld
content: |
@@ -26,3 +18,5 @@ write_files:
echo "Hello World !"
permissions: 0755
+runcmd:
+ - ${packages}