Closed Dubltaps closed 2 years ago
pi@raspberrypi:~/internet-pi $ ansible-playbook main.yml [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Unable to parse /home/pi/internet-pi/inventory.ini as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' [WARNING]: Could not match supplied host pattern, ignoring: internet_pi
This is what i get for step 5
Are you running the Internet-Pi project on a Pi/host directly? Or are you connected via SSH to the host when you attempted to run the playbook?
As noted in the second [WARNING] block of text, it looks like your inventory.ini file may be empty(?), thus the playbook will not run.
I’ve tried it both ways, not 100% sure what I’m doing wrong, also I’m fairly new at this. Thanks for the response!
On Thu, Nov 11, 2021 at 7:42 AM 802compute @.***> wrote:
Are you running the Internet-Pi project on a Pi/host directly? Or are you connected via SSH to the host when you attempted to run the playbook?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geerlingguy/internet-pi/issues/274#issuecomment-966271407, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWM22LIDHQUHUL74IM4GN73ULO22DANCNFSM5HWOJNHQ .
Let's do this:
Run "cat inventory.ini" in the terminal, then copy/paste that entire block of text into this thread and we'll see what happened.
pi@raspberrypi:~ $ ansible-inventory -i test.yml --list [DEPRECATION WARNING]: Ansible will require Python 3.8 or newer on the controller starting with Ansible 2.12. Current version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0]. This feature will be removed from ansible-core in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Unable to parse /home/pi/test.yml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available { "_meta": { "hostvars": {} }, "all": { "children": [ "ungrouped" ] } } pi@raspberrypi:~ $
So, i wiped my pi clean, fresh software and ive gotten a ton further. Now this is the error i am getting on step 5
TASK [Synchronize internet-monitoring directory.] ****
fatal: [192.168.0.178]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --no-perms --out-format='<
PLAY RECAP *** 192.168.0.178 : ok=9 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0
pi@raspberrypi:~/internet-pi $
Can't figure out what to do at step 4. I have downloaded the zip and go into there to change it but not sure what to do after. Any help is greatly appreciated!