Ansible 404 in https://raw.githubusercontent.com/sdesalas/node-pi-zero/master/install-node-v.lts.sh
See original GitHub issueDescribe the bug My 2 pi-zero nodes are unable to update as there is a 404 error while downloading the sh file
To reproduce ansible-playbook -i hosts.yml room-assistant.yml
Relevant logs
fatal: [192.168.9.231]: FAILED! => {"changed": false, "dest": "/home/pi/install-node.sh", "elapsed": 0, "gid": 1000, "group": "pi", "mode": "0766", "msg": "Request failed", "owner": "pi", "response": "HTTP Error 404: Not Found", "size": 1944, "state": "file", "status_code": 404, "uid": 1000, "url": "https://raw.githubusercontent.com/sdesalas/node-pi-zero/master/install-node-v.lts.sh"}
Relevant configuration Paste the relevant parts of your configuration below.
hosts:
#Pi Zero Only RoomAssistant
'192.168.9.230':
ansible_user: pi
ansible_password: password
ansible_sudo_pass: password
name: living_room
instanceName: living_room
#Pi Zero Only RoomAssistant
'192.168.9.231':
ansible_user: pi
ansible_password: password
ansible_sudo_pass: password
name: den
instanceName: den
#Octoprint
'192.168.9.33':
ansible_user: pi
ansible_password: password
ansible_sudo_pass: password
name: ante_chamber
instanceName: ante_chamber
#Genmon
'192.168.9.219':
ansible_user: pi
ansible_password: password
ansible_sudo_pass: password
name: basement
instanceName: basement
vars:
room_assistant_version: latest
room_assistant_global_config:
global:
cluster:
autoDiscovery: true
port: 6425
integrations:
- homeAssistant
- bluetoothLowEnergy
homeAssistant:
mqttUrl: 'mqtt://192.168.9.200:1883'
bluetoothLowEnergy:
timeout: 10
allowlist:
- '426c7565436861726d426561636f6e73-3838-4949'
- 'FDA50693A4E24FB1AFCFC6EB07647825-10-7'
- 'ba0f8dd2ab16401f9664ef12390c5714-0-0'
Expected behavior Process should complete without error.
Environment
- room-assistant version: Latest
- installation type: Ansible
- hardware: Pi zero
- OS: Linux
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issues - GitHub
Hi, When I link https://raw.githubusercontent.com/ansible/awx-operator/0.20.0/deploy/awx-operator.yaml, it shows '404: Not Found'.
Read more >404 error code returned when connecting via ansible
Running ansible playbook, and trying to connect to Windows VMs. I can connect but I get 404 return code for some reason.
Read more >Ansible troubleshooting - failure downloading
The root cause is usually a misspelled URL or a content moved by the website. This error is most of the time caused...
Read more >Ansible playbook: url returns 404 with apt-key module while ...
The solution was using a more complete address. Initial url I was given: https://build.opensuse.org/projects/home:jgeboski/public_key.
Read more >Failing to add a galaxy role with a "documentation_url" 404 ...
I'm checking the role for syntax error (with ansible-playbook --syntax-check option) and I don't get any error there. but yet.. something is wrong....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should also be able to update your existing directory. Change into the ansible-playbooks directory and run
git pull
from there - I think you may have executed that command from the parent directory, which won’t work.Copying the host.yml into a fresh copy of the repository also works as mentioned, it’s just slightly more work.
I just copied my hosts.yml file into another folder, deleted ansible-playbooks, then cloned the new version and copied hosts.yml back into the new folder. Not too hard and I got it working