Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

This change will introduced a dedicated playbook for the apb. #283

Closed
wants to merge 2 commits into from

Conversation

dcritch
Copy link
Contributor

@dcritch dcritch commented Jun 12, 2018

A number of issues were raised around the playbooks executing on
hosts: localhost where they should be run on an oc/k8s master node.
However that breaks the ansible playbook bundle 0. This change will add a dedicated playbook
for the apb.

A number of issues were raised around the playbooks executing on
`hosts: localhost` where they should be run on an oc/k8s master node.
However that breaks the apb[0]. This change will add a dedicated apb
playbook.

[0]: https://github.com/ansibleplaybookbundle/kubevirt-apb/blob/b471ef705517b96cb02254451b4dde923e062e56/playbooks/provision.yml#L10
roles:
- role: kubevirt

- import_playbook: "{{ playbook_dir }}/storage.yml"
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe the storage is being dropped off. @rthallisey am I right ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes.

@rthallisey
Copy link
Collaborator

@dcritch all the places that are set to local host can be changed to master/node ect. because the apb has it's own inventory that sets the equivalent inventory to localhost.

@rthallisey
Copy link
Collaborator

@dcritch
Copy link
Contributor Author

dcritch commented Jun 13, 2018

@rthallisey so this PR isn't necessary? It would be better not to have to maintain a separate playbook, but I thought it was causing issues e.g. #268

@rthallisey
Copy link
Collaborator

@davidvossel I think the PR isn't necessary because the apb is setup to handle all current 'hosts' in the inventory file.

The reason issue #268 occurred was the inventory file not being picked up by the start script in the apb-base layer. I fixed that here ansibleplaybookbundle/apb-base#31

@davidvossel
Copy link
Member

@davidvossel I think the PR isn't necessary because the apb is setup to handle all current 'hosts' in the inventory file.

was this meant for @dcritch ?

@rthallisey
Copy link
Collaborator

sorry @davidvossel, yes @dcritch.

@dcritch
Copy link
Contributor Author

dcritch commented Jun 13, 2018

Got it. Thanks!

@dcritch dcritch closed this Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants