-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate Ansible playbooks and roles to ceenter/ceenter #6
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
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
| Additional Container Group on OpenShift | ||
| - `oc create -f ocp-setup/role-pod-manager.yml` | ||
| - `oc create -f ocp-setup/sa-tower-container-group.yml` | ||
| - `oc create -f ocp-setup/rb-tower-container-group.yml` |
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.
why not oneliner?
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.
This is just WIP documentation, I though this is more readable.
In future I would like to code it all so that we can set it up from scratch on new OCP Cluster.
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.
even as oneliner you can use -f multiple times for one oc command IIRC
| gcp_compute_instance: | ||
| state: present | ||
| name: "{{ vm_name | default('ansible-tower-test', true) }}" | ||
| machine_type: n1-standard-1 |
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.
hardoced machine type
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.
+1
Should be set as variable
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 will add empty line between tasks. Just to make code more clean and
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.
This is for the PoC part to demonstrate that we can run VM in GCP. I don't know if we want to parametrize machine type. I would keep it as default for no wand parametrize it once we define a set of values we want to be configurable for all clouds.
WDYT?
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.
if you keep it hardoced then create an issue please. otherwise we can easily carry it.
mainly documentaiton of how to set OpenShift and Tower. Custom container image had to be used because there gcp modules don't run on default Ansible Tower instance group.
- parametrize option for VM type
all Ansible and setup is migrated to https://github.com/ceenter/ceenter
|
I've removed the Ansible and OCP related content. |
No description provided.