--- - hosts: "{{ host }}" vars: tasks: - name: SYSTEM - Set authorized key for test_user took from file tags: system-user authorized_key: user: root state: present key: "{{ key }}"