Search code examples
ansiblerundeckansible-template

Rundeck install plugins with Ansible


I am using ansible yaml file to create rundeck jobs. I want to create another job, but there I have to use Http Notification plugin.

I can install plugin manually from rundeck UI.

But is there any option that I can do it from ansible yaml file?


Solution

  • On Ansible created new job which runed shell script

    - name: install Plugins to rundeck
      shell: >
          docker exec rundeck bash -c 'rd plugins install -r=Official -i=5c3a72ab196c -v=1.0.5'
      become: yes