fix lint errors

This commit is contained in:
vvzvlad 2024-09-08 17:02:34 +03:00
parent 6a8906ee94
commit 0c4e9184f1

View File

@ -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