Hi, I am putting the below config in ec2_lc module for the server to run the script at the time of start.
user_data: { #!/bin/bash source /home/centos/startup.sh } But It is not working. It is giving me below error. 2017-08-15 16:12:46,441 - __init__.py[WARNING]: Unhandled non-multipart (text/x-not-multipart) userdata: '{\'source /home/centos/st...' Can someone please suggest where I am making a mistake? Thanks, Rohit -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fb9e9a6f-0c36-4a14-a11e-ffeff0bc7c34%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.