rundeck-cli icon indicating copy to clipboard operation
rundeck-cli copied to clipboard

rd jobs list idlist not full configuration

Open suslikas opened this issue 3 years ago • 3 comments

Hi,

I use rd cli for bootstrap rundeck from ansible. This command not provide information about slack notification.

rd jobs list --idlist {{ item.job_id }} -p {{ item.project }} --format yaml --file {{ rd_tmp_dir.path }}/{{ item.job_id }}.yml

But this information present in export via rundeck Web UI.

  notification:
    onfailure:
      plugin:
        configuration:
          slack_channel: info-rundeck
          webhook_base_url: https://hooks.slack.com/services
          webhook_token: T01D...MGC
        type: SlackNotification
  notifyAvgDurationThreshold: null

OS: Debian 10 rundeck: 3.3.6.20201111-1 rundeck-cli: 1.3.10-1 openjdk: 1.8.0_292

suslikas avatar Jul 19 '21 14:07 suslikas

any news regarding this problem, cause i have same issue

golimer avatar Sep 16 '21 07:09 golimer

Agree, because of this rd cli is now dangerous since it does not fully export all the settings such as webhooks, which creates a false positive impression thinking you can restore any time you want too.

hs-hub-world avatar Dec 28 '21 06:12 hs-hub-world

Is this perhaps a bug with Rundeck 3.3? the rundeck-cli will write the API response data directly to the file, so if there is data missing in the file, it must be an issue with the API response. You can watch the API response using RD_DEBUG=3 env var to turn on debugging.

gschueler avatar Feb 18 '22 00:02 gschueler