fix lint errors
This commit is contained in:
		@ -7,15 +7,16 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  tasks:
 | 
					  tasks:
 | 
				
			||||||
    - name: Append command to .bash_history
 | 
					    - name: Append command to .bash_history
 | 
				
			||||||
      blockinfile:
 | 
					      ansible.builtin.blockinfile:
 | 
				
			||||||
        path: "~/.bash_history"
 | 
					        path: "~/.bash_history"
 | 
				
			||||||
        create: yes
 | 
					        create: true
 | 
				
			||||||
        block: |
 | 
					        block: |
 | 
				
			||||||
          #1724983098
 | 
					          #1724983098
 | 
				
			||||||
          cd basic-coin-prediction-node/ ; docker compose logs -f
 | 
					          cd basic-coin-prediction-node/ ; docker compose logs -f
 | 
				
			||||||
          #1724983099
 | 
					          #1724983099
 | 
				
			||||||
          docker logs worker -f
 | 
					          docker logs worker -f
 | 
				
			||||||
        marker: ""
 | 
					        marker: ""
 | 
				
			||||||
 | 
					        mode: '0644'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set locale to C.UTF-8
 | 
					    - name: Set locale to C.UTF-8
 | 
				
			||||||
      ansible.builtin.command:
 | 
					      ansible.builtin.command:
 | 
				
			||||||
@ -118,14 +119,14 @@
 | 
				
			|||||||
      async: "{{ 60 * 20 }}"
 | 
					      async: "{{ 60 * 20 }}"
 | 
				
			||||||
      poll: 30
 | 
					      poll: 30
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check no-proxy ipfs acсess
 | 
					    - name: Check no-proxy ipfs access
 | 
				
			||||||
      ansible.builtin.shell: |
 | 
					      ansible.builtin.shell: |
 | 
				
			||||||
        curl -s -w "%{http_code}" -o response.json {{ ipfs_url }}
 | 
					        curl -s -w "%{http_code}" -o response.json {{ ipfs_url }}
 | 
				
			||||||
      register: noproxy_check
 | 
					      register: noproxy_check
 | 
				
			||||||
      changed_when: false
 | 
					      changed_when: false
 | 
				
			||||||
      failed_when: noproxy_check.stdout != "200"
 | 
					      failed_when: noproxy_check.stdout != "200"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check proxy ipfs acсess
 | 
					    - name: Check proxy ipfs access
 | 
				
			||||||
      ansible.builtin.shell: |
 | 
					      ansible.builtin.shell: |
 | 
				
			||||||
        curl -s -w "%{http_code}" -o response.json -x {{ proxy }} {{ ipfs_url }}
 | 
					        curl -s -w "%{http_code}" -o response.json -x {{ proxy }} {{ ipfs_url }}
 | 
				
			||||||
      register: proxy_check
 | 
					      register: proxy_check
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user