When deploying with the impossible, there is 1 specific case where I need to delete the string of the final substring -p.
The line somemachine-prod-pshould be somemachine-prodonly if it -pis at the end.
The subscript function that I saw that I can use with Jinja does not meet my needs, since I need to remove the end of the line, and not start.
Ideas?
Moshe source
share