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

Standardize openshift roles to OASIS #1679

Merged

Conversation

samvarankashyap
Copy link
Contributor

$Subject

fixes #1657

@samvarankashyap samvarankashyap requested a review from 14rcole March 10, 2020 19:32
platforms:
- name: openshift
image: centos:7
## Remove 'image' above and uncomment the following to run systemd in Docker
Copy link
Contributor

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 \
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Contributor Author

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.

@samvarankashyap samvarankashyap force-pushed the standardize_openshift branch 2 times, most recently from 40fd9f4 to 1057d0e Compare March 12, 2020 16:02
@samvarankashyap samvarankashyap requested a review from 14rcole March 12, 2020 16:04
@samvarankashyap
Copy link
Contributor Author

[merge]

@adl-bot adl-bot merged commit 0d69303 into CentOS-PaaS-SIG:develop Mar 16, 2020
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.

Standardize OpenShift role to OASIS
3 participants