---
- name: Enable users
  hosts: all

  tasks:

  - name: Ensure that users exists and are in correct groups
    include_tasks: helpers/users_enable.yaml
    loop:
    - {username: lukasz, comment: Lukasz, sshkey: "{{ lookup('file', 'ssh_keys/lukasz') }}"}

  - name: Ensure that users can not login
    include_tasks: helpers/users_disable.yaml
    loop:
    #- {username: qwerty, comment: QWERTY, sshkey: "{{ lookup('file', 'ssh_keys/QWERTY') }}"}
    - {username: marcin, comment: Marcin Temp, sshkey: "{{ lookup('file', 'ssh_keys/lukasz') }}"}