--- - name: Configure Truenas hosts: truenas become: false tasks: - name: Install required packages package: name: "{{ item }}" state: present with_items: - py37-ansible - py37-pip - py37-netifaces - py37-netaddr - py37-requests - py37-yaml