Would someone help me understand what I’m getting wrong here? I’ve been staring at it too long, I think…
This works:
shell_command:
kick_station_from_ap: 'ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] /root/bin/kick_station.sh'
But adding a second command, generates a configuration error…
shell_command:
kick_station_from_ap: 'ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] /root/bin/kick_station.sh'
restart_SAB_jail: 'ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] /usr/local/bin/iocage'
Invalid config for [shell_command]: invalid slug restart_SAB_jail (try restart_sab_jail) for dictionary value @ data['shell_command']. Got OrderedDict([('kick_station_from_ap', 'ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] /root/bin/kick_station.sh'), ('restart_SAB_jail', 'ssh -i /config/ssh/id_rsa -o StrictHostKeyChecking=no [email protected] /usr/local/bin/iocage')]). (See /config/configuration.yaml, line 61).
Thank you!