--- - name: Converge hosts: all become: yes vars: - shares: - mount_point: /media/nfs/default server: test.lan export: /test options: defaults - mount_point: /media/nfs/other server: test.lan export: /other options: defaults pre_tasks: - name: Update apt cache apt: update_cache: yes tasks: - name: "Include nfs_client" include_role: name: "nfs_client"