Skip to content

Commit

Permalink
Fix ansible-lint-reported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev committed May 28, 2024
1 parent 3a4e58c commit b94ae91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---

- name: Check if the Docker apt repository file exists
stat:
ansible.builtin.stat:
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
register: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_status

- when: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_status.stat.exists | bool
block:
- name: Read repository file
slurp:
ansible.builtin.slurp:
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
register: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_content

Expand Down

0 comments on commit b94ae91

Please sign in to comment.