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

Silence Ansible devel warning, again #956

Merged
merged 1 commit into from Jan 13, 2022

Conversation

AlanCoding
Copy link
Member

I rebuilt the image fresh and was very annoyed by getting this error running completely unrelated commands in the image

[WARNING]: You are running the development version of Ansible. You should only run Ansible from
"devel" if you are modifying the Ansible engine, or trying out features under development. This
is a rapidly changing source of code and can become unstable at any point.

It turns out that this is silenced in the ansible-galaxy command in the entrypoint.sh script, but the same problem happens again just a few lines down doing ansible --version, and this case is not silenced.

This applies the same method to the second case, so that this will run quiet:

(env) [alancoding@alan-red-hat ansible-runner]$ podman run --rm --tty --interactive --env AWX_ISOLATED_DATA_DIR=/runner/ quay.io/ansible/ansible-runner:devel whoami
[WARNING]: You are running the development version of Ansible. You should only
run Ansible from "devel" if you are modifying the Ansible engine, or trying out
features under development. This is a rapidly changing source of code and can
become unstable at any point.
root

@AlanCoding AlanCoding requested a review from a team as a code owner January 13, 2022 02:47
@github-actions github-actions bot added the needs_triage New item that needs to be triaged label Jan 13, 2022
@Shrews Shrews added gate and removed needs_triage New item that needs to be triaged labels Jan 13, 2022
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit 891a8ad into ansible:devel Jan 13, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants