Merged
Conversation
9b6cce0 to
7f56ba9
Compare
mpagot
reviewed
Nov 7, 2025
| f'{ansible_bin_paths["ansible"]} {ansible_common} all ' | ||
| '-m shell ' | ||
| "-a 'i=0; while [ $i -lt 35 ]; do sudo -n true && exit 0; sleep 5; i=$((i+1)); done; exit 1' " | ||
| '--ssh-extra-args="-l cloudadmin -o UpdateHostKeys=yes -o StrictHostKeyChecking=accept-new"' |
Collaborator
There was a problem hiding this comment.
I do not think this line is needed. This one is to let keys/host to be accepted. It is only needed for first command. Not needed in this second one.
7f56ba9 to
aa941d3
Compare
| f'{ansible_bin_paths["ansible"]} {ansible_common} all ' | ||
| '-m shell ' | ||
| "-a 'i=0; while [ $i -lt 35 ]; do sudo -n true && exit 0; sleep 5; i=$((i+1)); done; exit 1' " | ||
| '--ssh-extra-args="-l cloudadmin -o UpdateHostKeys=yes -o StrictHostKeyChecking=accept-new"' |
Collaborator
There was a problem hiding this comment.
I'd really like to avoid hardcoding the username (cloudadmin) here ....
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a qesap gluescript version of #406: it adds a wait for user and sudoers being ready before running the ansible playbooks.
https://openqaworker15.qa.suse.cz/tests/350159
https://openqaworker15.qa.suse.cz/tests/350158
https://openqaworker15.qa.suse.cz/tests/350160
az+ec2 tests to make sure nothing breaks:
https://openqa.suse.de/tests/19849472
https://openqa.suse.de/tests/19849481
(check for
sudo -n truein the serial terminal log)