---

- hosts: managed
  become: yes
  vars_files:
    - "{{ play_dir }}/vars/common.yml"
    - "{{ play_dir }}/vars/versions.yml"

  roles:
    - role: base-system
      tags: ['runtimes']

    # Setup etckeeper and force it to use Git
    - role: etckeeper
      tags: ['runtimes']

    - role: audit-deployment
      installed_component: base-system
      tags: ['runtimes']

---

- hosts: managed
  become: yes
  vars_files:
    - "{{ play_dir }}/vars/common.yml"
    - "{{ play_dir }}/vars/versions.yml"

  pre_tasks:

    - name: Create MIP group
      group: name=mip

    - name: Create MIP user
      user: name=mip group=mip

  roles:
    - role: base-system
      tags: ['runtimes']

    # Setup etckeeper and force it to use Git
    - role: etckeeper
      tags: ['runtimes']

    - role: audit-deployment
      installed_component: base-system
      tags: ['runtimes']

Define a common MIP user and group
Define a common MIP user and group
