- name: Configure memory regions copy: src: vhost.conf dest: /etc/modprobe.d/ mode: u=rw,g=r,o=r owner: root group: root register: copy_result #- name: Reboot the system if file was copied # reboot: # reboot_timeout: 600 # become: true # when: copy_result.changed