-
Notifications
You must be signed in to change notification settings - Fork 5
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
Cross-host facts. Modern hosts. No firewall. #9
base: master
Are you sure you want to change the base?
Conversation
@joshmoore I am afraid I cannot test this easily - I am failing on step 1: Have 3 VMs and know how to run ansible against all three of them - for now, all I did was having one single docker (not VM) and inside that docker an ansible which I used with |
I should probably learn molecule and vagrant to write proper tests. It's all part of my learning process. Maybe I should drop the pull request and resubmit once I have something that can be properly tested. |
Hi @drjrkuhn. 💯 for the learning process and for anything we can do to help. If you are looking to get into molecule & vagrant anyway, that's definitely a great way to test this. From our POV, don't feel that you must close before doing all of that though. The changes look sane, but it'd be good to have one verification (automated or manual) of the iptables before merging. |
So I have created a Vagrantfile with the help of @dominikl (thank you very much) as follows (no aspiration on beauty of the file, it is rough): Vagrantfile
Then
This creates three VMs in VBox with IPs as specified in the Vagrantfile into which I can ssh such as
The IPs are in order: ...100 = web, ...101 = postgres, ...102 = server Then I created a
and ran the ansible command (my requirements are already satisfied) with this PR checked out:
which runs fine for the postgres VM (web is not reached, because it comes later in the playbook), then crashes on the omero_server task below (Edit: surprisingly, this error is
This invites two questions:
Any ideas @drjrkuhn @joshmoore please ? |
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.
Just to finish the review: Please react to #9 (comment) - no hurry on our side though of course :)
I fixed a few things on the omero-three-node deployment sample. This worked for me with three freshly installed Centos 7 VMs. Fixes include:
omero-database
=>omero_database
etc-hosts:
block. So made a common block to gather connection addresses.