>From the ansible docs the ec2 module
(http://docs.ansible.com/ec2_module.html) mentions a user_data field.
However, there is no example showing the use of user_data.
I've tried a variety of things to pass through to the user field to no
avail including
user_data: file.txt
user_data: "{{ lookup('file', file.txt') }}"
user_data: """#!/bin/bash
apt-get update
apt-get install htop"""
And variations thereof. My googlefu has failed me so far to find any
results for how to solve this issue.
Thanks if you have any input.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/64b86c47-036a-471f-8a64-9cbd38c04f5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.