-
the echo command, nor using an echo in a script: outputs to the console. Am I doing something wrong? See below: echo as a command:
user: ubuntu
ssh_key: /home/ubuntu/.ssh/id_rsa
ssh_shell: /bin/bash
local_shell: /bin/bash
inventory: inventory.yml
tasks:
- name: Check known rails issue 366450
targets: ["gitlab_rails"]
commands:
- name: Display warning message
echo: "If you're using SAML for OmniAuth you might be running into known issue https://gitlab.com/gitlab-org/gitlab/-/issues/366450"
ubuntu@sr-env-049aca04-omnibus:~$ ./spot -p rails_known_issues.yml --env GITLAB_VERSION:16.0.0
spot v1.16.1-3c62f53-2024-10-23T16:26:56Z
[omnibus localhost:22] run task "Check known rails issue 366450", commands: 1
[omnibus localhost:22] completed command "Display warning message" {echo: If you're using SAML for OmniAuth you might be running into known issue https://gitlab.com/gitlab-org/gitlab/-/issues/366450} (927ms)
[omnibus localhost:22] completed task "Check known rails issue 366450", commands: 1 (982ms)
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Confused. It is not just a statement but the actual output to stdout. If your echo using any vars it will resolve them and print values. I'm not really sure what you expected to see here. Just echo without a command? Or keep the command but without the echo section? Or the command itself and echo on separate lines? |
Beta Was this translation helpful? Give feedback.
-
I have created #241 for this thing |
Beta Was this translation helpful? Give feedback.
-
released as a part of 1.6.2 hotfix version |
Beta Was this translation helpful? Give feedback.
released as a part of 1.6.2 hotfix version