-
Notifications
You must be signed in to change notification settings - Fork 9
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
Consolidate mongo roles #117
base: main
Are you sure you want to change the base?
Consolidate mongo roles #117
Conversation
playbooks/install_active_standby.yml
Outdated
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.
Can we remove this file? I don't think it's used, is it?
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.
We are not using it. To build active standby you just call the normal deployer playbooks.
**/*.keep | ||
inventories | ||
playbooks/files |
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'm not sure we should have playbooks/file in the git ignore list.
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 added this because its registering many of my download bin files as changes. Those should be ignored, right???
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 found a guide for creating a local .gitignore.
- name: Determine the primary server | ||
ansible.builtin.include_role: | ||
name: mongodb_common | ||
tasks_from: determine-primary-server.yml | ||
when: mongobdb_svc_url_itential is not defined |
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.
Is this unnecessary because we're using the mongo_connection_string?
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.
Correct. In the case of a replset, the mongo connection string should contain all members and the driver should figure out which one is the primary.
**/*.keep | ||
inventories | ||
playbooks/files |
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 found a guide for creating a local .gitignore.
No description provided.