TL;DR: Add the rundeck user to the sudoers and then use sudo
Installing rundeck on Ubuntu usually results in creating a rundeck user. We had a bunch of issues creating a rundeck job because we needed to execute a command as a specific user (only that user had access