# - name: Install packages # package: # name: # - foo # state: present - name: Install loader.conf copy: src: "files/{{ item }}_loader.conf" dest: "/boot/loader.conf.d/{{ item }}.conf" mode: 0644 owner: root group: wheel loop: - power_off_no_driver