Replaced " with '

This commit is contained in:
2025-11-04 19:22:07 +01:00
parent 3e62e137da
commit a95fbd4822
8 changed files with 62 additions and 62 deletions

View File

@@ -1,12 +1,12 @@
---
- name: Check if backup directory exists
stat:
path: "{{ backup_path }}"
path: '{{ backup_path }}'
register: backup_dir_stat
- name: Check if backup directory is not empty
find:
paths: "{{ backup_path }}"
paths: '{{ backup_path }}'
file_type: any
recurse: false
when: backup_dir_stat.stat.exists and backup_dir_stat.stat.isdir
@@ -15,8 +15,8 @@
- name: Check if each required file exists
stat:
path: "{{ dir_path }}/{{ item }}"
loop: "{{ backup_required_files }}"
path: '{{ dir_path }}/{{ item }}'
loop: '{{ backup_required_files }}'
register: required_file_stats
- name: Determine missing files
@@ -52,5 +52,5 @@
- name: Debug - Show final result
debug:
msg: "Backup directory exists and is not empty."
msg: 'Backup directory exists and is not empty.'
when: backup_dir_valid | default(false)