--- # Ensure the script is copied to the target machine - name: Copy the warhammer feed update script copy: src: update_warhammer_feed.sh dest: /usr/local/bin/update_warhammer_feed.sh mode: '0755' owner: root group: root # Create the cron job to run the script at 09:10 every day - name: Create cron job for warhammer feed update cron: name: "Update Warhammer RSS Feed" minute: "10" hour: "9" user: root job: "/usr/local/bin/update_warhammer_feed.sh"