Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. --
  2. - name: Create coreos VMS
  3. hosts: mesos
  4.  
  5. tasks:
  6.  
  7. - name: install coreos to disk
  8. command: /usr/bin/coreos-install -d /dev/sda -V current -C stable
  9. become: true
  10. pause: minutes=5
  11.  
  12. - name: reboot server
  13. command: shutdown -r now
  14. async: 1
  15. poll: 0
  16. become: true
  17. ignore_errors: true
  18.  
  19. - name: waiting for server to come back
  20. local_action: wait_for host={{ inventory_hostname}} state=started delay=30 timeout=600
  21. become: false
  22.  
  23.  
  24.  
  25. ERROR
  26. The error appears to have been in '/vbox/workspace/ansible/coreos/install-coreos.yml': line 7, column 8, but may
  27. be elsewhere in the file depending on the exact syntax problem.
  28.  
  29. The offending line appears to be:
  30.  
  31.  
  32. - name: install coreos to disk
  33. ^ here
  34.  
  35.  
  36. The error appears to have been in '/vbox/workspace/ansible/coreos/install-coreos.yml': line 7, column 8, but may
  37. be elsewhere in the file depending on the exact syntax problem.
  38.  
  39. The offending line appears to be:
  40.  
  41.  
  42. - name: install coreos to disk
  43. ^ here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement