Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rd jobs list idlist not full configuration #372

Open
suslikas opened this issue Jul 19, 2021 · 3 comments
Open

rd jobs list idlist not full configuration #372

suslikas opened this issue Jul 19, 2021 · 3 comments

Comments

@suslikas
Copy link

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

@golimer
Copy link

golimer commented Sep 16, 2021

any news regarding this problem, cause i have same issue

@hs-hub-world
Copy link

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.

@gschueler
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants