From eb65d0f7ee2b46d7132d59728889c6071826c92d Mon Sep 17 00:00:00 2001 From: Tim Schwenke Date: Fri, 22 Oct 2021 20:37:02 +0200 Subject: [PATCH] fix: Replace wrong YAML block style --- tasks/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 27432b6..9203bf6 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -1,5 +1,5 @@ - name: "{{ asdf_plugin_name }} : Add plugin" - ansible.builtin.shell: >- + ansible.builtin.shell: | source {{ asdf_plugin_source }} asdf plugin add {{ asdf_plugin_name }} {{ asdf_plugin_git_url }} args: {executable: "{{ asdf_plugin_shell_executable }}"} @@ -9,7 +9,7 @@ - name: "{{ asdf_plugin_name }} : Checkout plugin repo at ref" when: asdf_plugin_git_ref is defined - ansible.builtin.shell: >- + ansible.builtin.shell: | source {{ asdf_plugin_source }} asdf plugin update {{ asdf_plugin_name }} {{ asdf_plugin_git_ref }} args: {executable: "{{ asdf_plugin_shell_executable }}"} @@ -19,7 +19,7 @@ - name: "{{ asdf_plugin_name }} : Install package {{ asdf_plugin_package_versions | default('SKIP') }}" when: asdf_plugin_package_versions is defined - ansible.builtin.shell: >- + ansible.builtin.shell: | source {{ asdf_plugin_source }} asdf install {{ asdf_plugin_name }} {{ item }} loop: "{{ asdf_plugin_package_versions }}" @@ -28,7 +28,7 @@ - name: "{{ asdf_plugin_name }} : Set global version to {{ asdf_plugin_package_version_global | default('SKIP') }}" when: asdf_plugin_package_version_global is defined - ansible.builtin.shell: >- + ansible.builtin.shell: | source {{ asdf_plugin_source }} asdf global {{ asdf_plugin_name }} {{ asdf_plugin_package_version_global }} args: {executable: "{{ asdf_plugin_shell_executable }}"}