Skip to content

Commit 50ba030

Browse files
committed
fix: linting errors
Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent 35fe393 commit 50ba030

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ansible/init-data-gzipper.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,11 @@
2626
dest: "{{ rendered_path }}"
2727
mode: "0600"
2828

29-
- name: Check if gzipped file already exists
30-
ansible.builtin.stat:
31-
path: "{{ gz_path }}"
32-
register: gz_file_stat
3329

3430
- name: Gzip the rendered content
3531
ansible.builtin.shell: |
3632
python3 gzipper.py "{{ rendered_path }}" "{{ gz_path }}"
37-
when: not gz_file_stat.stat.exists
33+
changed_when: true
3834

3935
- name: Read gzip as base64
4036
ansible.builtin.slurp:

0 commit comments

Comments
 (0)