---
- hosts: amoc-master
  connection: local
  sudo: no
  vars:
    - install_dir: "{{ master_install_dir }}"
  roles:
    - amoc

---
- hosts: amoc-master
  remote_user: "{{user}}"
  sudo: no
  vars:
    - install_dir: "{{ master_install_dir }}"
  roles:
    - amoc

Connect to master in the same way as to slaves
Connect to master in the same way as to slaves
