Scott.Thompson
All:

Using Ansible to drive configuration of OpenPLC.  Some of my OpenPLC are soft PLCs installed on Ubuntu server.

I already have playbooks that will install OpenPLC and will upload an .ST file to ~/OpenPLC/webserver/st_files and restart the openplc.service.

Problem - I want to make my uploaded .ST file the active program without using the web interface.  Normally I would upload using the web page and complete the compilation process on the ST file. 

Is there a way to upload an ST file and make it the active PLC program using only SSH?  Figured I would check in and see if there was an "easy button" before going down a rabbit hole with the code.

Thanks in advance!

Scott


Reply 0 0
Scott.Thompson
Found the compile_program.sh script and it worked like a champ.

Brilliant!  Thanks all!
Reply 0 0
Reply