mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 10:28:29 +01:00
Fix ansible-lint-reported errors
This commit is contained in:
parent
3a4e58c34d
commit
b94ae91d0a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user