vn-ansible/roles/pve/tasks/vhost.yml

14 lines
289 B
YAML
Raw Normal View History

2024-10-16 15:53:15 +00:00
- 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