mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 02:48:32 +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
|
- name: Check if the Docker apt repository file exists
|
||||||
stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
|
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
|
||||||
register: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_status
|
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
|
- when: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_status.stat.exists | bool
|
||||||
block:
|
block:
|
||||||
- name: Read repository file
|
- name: Read repository file
|
||||||
slurp:
|
ansible.builtin.slurp:
|
||||||
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
|
path: "{{ matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path }}"
|
||||||
register: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_content
|
register: matrix_playbook_migration_docker_trusted_gpg_d_migration_repository_path_content
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user