Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --
- - name: Create coreos VMS
- hosts: mesos
- tasks:
- - name: install coreos to disk
- command: /usr/bin/coreos-install -d /dev/sda -V current -C stable
- become: true
- pause: minutes=5
- - name: reboot server
- command: shutdown -r now
- async: 1
- poll: 0
- become: true
- ignore_errors: true
- - name: waiting for server to come back
- local_action: wait_for host={{ inventory_hostname}} state=started delay=30 timeout=600
- become: false
- ERROR
- The error appears to have been in '/vbox/workspace/ansible/coreos/install-coreos.yml': line 7, column 8, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- - name: install coreos to disk
- ^ here
- The error appears to have been in '/vbox/workspace/ansible/coreos/install-coreos.yml': line 7, column 8, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- - name: install coreos to disk
- ^ here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement