diff --git a/common/reset_base_snapshot.yml b/common/reset_base_snapshot.yml index 34282af2b..75f447239 100644 --- a/common/reset_base_snapshot.yml +++ b/common/reset_base_snapshot.yml @@ -39,6 +39,7 @@ vars: snapshot_name: "{{ base_snapshot_name }}" snapshot_description: "{{ base_snapshot_description | default('') }}" + dump_memory: "{{ guest_os_ansible_distribution != 'FreeBSD' }}" - name: "Refresh base snapshot status variable" ansible.builtin.set_fact: diff --git a/linux/setup/create_base_snapshot.yml b/linux/setup/create_base_snapshot.yml index b43a9025e..a2768bc5f 100644 --- a/linux/setup/create_base_snapshot.yml +++ b/linux/setup/create_base_snapshot.yml @@ -6,6 +6,7 @@ - include_tasks: ../../common/vm_take_snapshot.yml vars: snapshot_name: "{{ base_snapshot_name }}" + dump_memory: "{{ guest_os_ansible_distribution != 'FreeBSD' }}" - name: Set fact of base snapshot existence ansible.builtin.set_fact: base_snapshot_exists: true