Hi Everyone,
I am facing issue in executing roles using some shell script.
the task is
create one directory on remote host /installer/NAM
copy the installable from ftp (ip:172.19.54.10 username:-admin password abc123 ).
copy the installable at /installer/NAM
untar the installable
remove the installable file
6.execute the install.sh
below is the YAML please let me what is wrong in it i am unable to download file and subsequent steps.
Kindly reply ASAP or if some one have any sample YAML to download from FTP please share with me.
Every “-” in YAML starts a new element and all the elements must be equally indented. In your YAML, there is an extra indent before “- name: Download File From FTP”.
Also, the “url” key of get_url module should be further indented to reflect correct mapping. This is why the “mapping values are not allowed in this context” error message was shown.