# ---
# - hosts: all
#   tasks:
#     - name: ensure ntpd is at the latest version
#       yum: pkg=ntp state=latest
#       notify:
#       - restart ntpd
#   handlers:
#     - name: restart ntpd
#       service: name=ntpd state=restarted

---
- hosts: all
  tasks:
    - include: tasks/main.yml

# ---
# - hosts: all
#   tasks:
#     - name: ensure ntpd is at the latest version
#       yum: pkg=ntp state=latest
#       notify:
#       - restart ntpd
#   handlers:
#     - name: restart ntpd
#       service: name=ntpd state=restarted

---
- hosts: all
  roles:
    - ansible-gocd

Use a role, not tasks, so that it works with defaults and such in a predicatble manner. See Vagrantfile on how this works with local testing.
Use a role, not tasks, so that it works with defaults and such in a predicatble manner.  See Vagrantfile on how this works with local testing.
