![]() Then you must place the command in a script and explicitly set the exit code of If a command returns a non-zero exit code but you wish to treat this as a success, If the script returns a non-zeroĮxit code, then salt determines that it failed to successfully enforce the state. If the command returns a zero exit code, then saltĭetermines that the state was successfully enforced. Salt determines whether the cmd state is successfully enforced based on the exitĬode returned by the command. ![]() ![]() Run_installer : cmd.run : - name : /tmp/installer.bin > /dev/null 2>&1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |