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

bring role configs to inventory #124

Merged
merged 6 commits into from
Jul 30, 2019

Conversation

Natkeeran
Copy link
Contributor

@Natkeeran Natkeeran commented Jul 11, 2019

!!! Please hold on testing this until the dependencies get merged.

This PR depends on the following getting merged:

What does this Pull Request do?

This PR make some of the variables that need to be configured for multi sever deployment explicit in the inventory.

How should this be tested?

  • After the dependent PRs are merged, get this PR
  • Vagrant up
  • Sanity checks

Interested parties

@Islandora-Devops/committers

@dannylamb
Copy link
Member

FWIW i'm testing all at once by updating my requirements.yml file to point to your forks for the alpaca and crayfish roles, and then I pulled in this PR. I'll let you know how it goes.

@dannylamb
Copy link
Member

@Natkeeran Tested, works great. I sliced 1.0.1 versions for the alpaca and crayfish roles. Want to update requirements.yml to point to those and I'll merge this in?

@Natkeeran
Copy link
Contributor Author

@dannylamb

I am wondering if I could use {{ hostvars[groups['tomcat'][0]].ansible_ssh_host }} variables:

Example:
Natkeeran@c747553

This works. It will put 127.0.0.1. The only issue is that we are only using the first machine in the inventory group. However, that is equivalent to having localhost situation right now!

@Natkeeran
Copy link
Contributor Author

@dannylamb

Web server port should be a variable as well!

@dannylamb
Copy link
Member

@Natkeeran You want to toss those in now or should I just merge?

@Natkeeran
Copy link
Contributor Author

@dannylamb

I'll make those changes now, test it and ping you.

@Natkeeran
Copy link
Contributor Author

@dannylamb

If you can test/merge this islandora-deprecated/ansible-role-blazegraph#8, I can the requirements as well.

I am running into the following issue:
"The upload directory fedora://2019-07 for the file field field_media_image could not be created or is not accessible. A newly uploaded file could not be saved in this directory as a consequence, and the upload was canceled."

I am not sure if this related to this PR. Going to try without these PRs.

@dannylamb
Copy link
Member

@Natkeeran I'll give it a shot and report back.

@dannylamb
Copy link
Member

I tested the blazegraph role along with the others and it all looks good. I can't replicate the issue you're running into. I uploaded an image and a video and all the viewers work, content is indexed in fedora and blazegraph. Looks good to me.

@dannylamb
Copy link
Member

I merged the blazegraph role. Update requirements.yml and I'm happy to pull this in.

@dannylamb dannylamb merged commit d2fe4dd into Islandora-Devops:dev Jul 30, 2019
@dannylamb
Copy link
Member

Thx @Natkeeran

whikloj pushed a commit to whikloj/claw-playbook that referenced this pull request Dec 18, 2019
* bring role configs to inventory

* update base_url configs

* Update post-install.yml

* Update requirements.yml

* use hostvars for ip

* Update requirements.yml
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.

2 participants