you cannot have multiple roles: declarations per play, if you want to make
this work in that order you need a 2nd play:

---
- hosts: test
  roles:
    - common
    - deploy
  tasks:
    - pause: seconds=60

- hosts: test
  roles:
    - deploy_asg


Also pause will start when the 1st host gets to it and it is global for all
hosts, if you want EACH host to wait for a period use wait_for instead.


----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7c%2BimOxBtR%3DMBEaRnAk7G3%3DPDp_B%3DoL%3D5n52nGtTDQyXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to