-
Notifications
You must be signed in to change notification settings - Fork 70
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
Standardize openshift roles to OASIS #1679
Standardize openshift roles to OASIS #1679
Conversation
platforms: | ||
- name: openshift | ||
image: centos:7 | ||
## Remove 'image' above and uncomment the following to run systemd in Docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove this
@@ -82,23 +81,28 @@ | |||
|
|||
- name: fail when pod_output is failure | |||
fail: | |||
msg: "Multiple pods in pending/failure state please adjust the timeout value and retry" | |||
when: state == "present" and pod_output == 'Failure' | |||
msg: "Multiple pods in pending/failure \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this works the way you expect it to? Generally in yaml the way to split a string across multiple lines is this:
msg: >
Multiple pods in pending/failure state, please adjust
the timeout value and retry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@14rcole I tested it with a simple debug msg task. I went fine.
I can change it to the above format if its the general standard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did the above for the other modules, but we can standardize on whichever one you prefer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@14rcole When I use the above syntax ansible lint was failing.
40fd9f4
to
1057d0e
Compare
1057d0e
to
6dbb087
Compare
[merge] |
$Subject
fixes #1657