Closed autarkper closed 3 years ago
How do I proceed from here? My Ansible skills are a bit rusty.
The "missing" file seems to exist though:
$ find . -name wpa_supplicant.conf.j2
./ansible/roles/setup_raspberry_access_point/templates/wpa_supplicant.conf.j2
$ ls -l ./ansible/roles/setup_raspberry_access_point/templates/wpa_supplicant.conf.j2
-rw-rw-r-- 1 pang pang 145 jul 9 16:11 ./ansible/roles/setup_raspberry_access_point/templates/wpa_supplicant.conf.j2
$ cat ./ansible/roles/setup_raspberry_access_point/templates/wpa_supplicant.conf.j2
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="{{ ssid_name }}"
psk="{{ ssid_pass }}"
}
Looking more carefully at the error message, I now see that ansible is looking for the template in ansible/roles/setup_raspberry_repeater and subdirectories. Since the file resides under setup_raspberry_access_point, this might be why the task fails.
I will try a fix later on to see if this hypothesis is valid.
Hi @autarkper, Thanks for raising this up, I've merged the PR. will add extra major changes to align with latest RPI version.
thanks again
Full story:
Using ansible 2.9.6 on current GitHub master (dbf37bd047b7cf7edf46935a2402187010380ae7)