- hosts: all:!provisioner
  tasks:
    - include_role:
        name: base
    # BUG https://github.com/ansible/ansible/issues/22571
    # we currently cannot setup a include_role with a dynamic name
    #- import_role:
    #    name: "{{ ansible_host }}_setup"

# Without dynamic inclusion, we need to call roles
# one by one
- name: Apply te-broker role
  hosts: te-broker
  tasks:
    - include_role:
        name: te-broker

- name: Apply dns role
  hosts: dns
  tasks:
    - include_role:
        name: dns

- name: Apply promoter role
  hosts: promoter
  tasks:
    - include_role:
        name: promoter

- name: Apply promoter role
  hosts: jumphost
  tasks:
    - include_role:
        name: jumphost

- hosts: all:!provisioner
  tasks:
    - include_role:
        name: base
    # BUG https://github.com/ansible/ansible/issues/22571
    # we currently cannot setup a include_role with a dynamic name
    #- import_role:
    #    name: "{{ ansible_host }}_setup"

# Without dynamic inclusion, we need to call roles
# one by one
- name: Apply te-broker role
  hosts: te-broker
  tasks:
    - include_role:
        name: te-broker

- name: Apply dns role
  hosts: dns
  tasks:
    - include_role:
        name: dns

- name: Apply promoter role
  hosts: promoter
  tasks:
    - include_role:
        name: promoter

- name: Apply jumphost role
  hosts: jumphost
  tasks:
    - include_role:
        name: jumphost

- name: Apply logserver role
  hosts: logserver
  tasks:
    - include_role:
        name: logserver

Fix server setup role for all servers
Fix server setup role for all servers

Add logserver role and fix names for other playbooks in server
setup playbook.

Change-Id: I3789a694329e538db7d3a799a8877297a8d6e911
