Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. File: main.yml
  2.  
  3. {%- set subscribe_server_repo = 1 %}
  4.  
  5. - name: Add EPEL
  6. yum_repository:
  7. name: epel
  8. description: EPEL YUM repo
  9. baseurl: https://download.fedoraproject.org/pub/epel/$releasever/$basearch/
  10.  
  11. Error :
  12. ERROR! Syntax Error while loading YAML.
  13. found character that cannot start any token
  14.  
  15. The error appears to be in '/etc/ansible/roles/cplus.subscription-manager/tasks/main.yml': line 32, column 2, but may
  16. be elsewhere in the file depending on the exact syntax problem.
  17.  
  18. The offending line appears to be:
  19.  
  20.  
  21. {%- set subscribe_server_repo = 1 %}
  22. ^ here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement