Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat roles/common/tasks/users.yml
- #Add the jerome user
- - user: name=jerome password: {{ ssh_password }}
- cat roles/common/vars/main.yml
- ssh_password: "$6$rounds=656000$Dx64/ciLGpPPWMAz$M72l5.RN1ST.73ghhi3Sr2/LucPLn34DuDaMn2NWBVEvgN.ed.QVUcxvaqtlju1hHaMhZlVGUYsIl6Tkwg/SA0"
- TASK [common : include] ********************************************************
- task path: /Users/jerome/Ansible/jerome/roles/common/tasks/main.yml:4
- fatal: [myip]: FAILED! => {"failed": true, "reason": "Syntax Error while loading YAML.\n\n\nThe error appears to have been in '/Users/jerome/Ansible/jerome/roles/common/tasks/users.yml': line 2, column 29, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n#Add the jerome user\n- user: name=jerome password: {{ ssh_password }}\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement