From 0c4e9184f1a39300a8a255f60da491a76c50829a Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sun, 8 Sep 2024 17:02:34 +0300 Subject: [PATCH] fix lint errors --- playbook.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 3594afa..6e2a08f 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -7,15 +7,16 @@ tasks: - name: Append command to .bash_history - blockinfile: + ansible.builtin.blockinfile: path: "~/.bash_history" - create: yes + create: true block: | #1724983098 cd basic-coin-prediction-node/ ; docker compose logs -f #1724983099 docker logs worker -f marker: "" + mode: '0644' - name: Set locale to C.UTF-8 ansible.builtin.command: @@ -118,14 +119,14 @@ async: "{{ 60 * 20 }}" poll: 30 - - name: Check no-proxy ipfs acсess + - name: Check no-proxy ipfs access ansible.builtin.shell: | curl -s -w "%{http_code}" -o response.json {{ ipfs_url }} register: noproxy_check changed_when: false failed_when: noproxy_check.stdout != "200" - - name: Check proxy ipfs acсess + - name: Check proxy ipfs access ansible.builtin.shell: | curl -s -w "%{http_code}" -o response.json -x {{ proxy }} {{ ipfs_url }} register: proxy_check @@ -182,7 +183,7 @@ - name: Update environment variables ansible.builtin.shell: | - ./update.sh WALLET "{{ wallet }}" + ./update.sh WALLET "{{ wallet }}" ./update.sh MNEMONIC "{{ mnemonic }}" ./update.sh RPC_URL "{{ rpc_url }}" ./update.sh TOKEN "{{ token }}" @@ -201,7 +202,7 @@ chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" changed_when: false - - name: Build docker compose + - name: Build docker compose ansible.builtin.command: docker compose build args: chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" @@ -410,7 +411,7 @@ retries: 2 delay: 60 until: updater_shell_response.rc == 0 - changed_when: false + changed_when: false - name: Check inference endpoint ansible.builtin.shell: |