Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

WIP: Create influxdb users #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

nicksellen
Copy link
Member

@nicksellen nicksellen commented Dec 16, 2018

Re: https://gitlab.com/kanthaus/kanthaus-private/issues/44

The idea is to:

  • create a user per "site" with specific credentials which only has access to the specific database needed
  • create a public user that will be granted read access to specific databases as needed

Copy link
Member Author

@nicksellen nicksellen left a comment

Choose a reason for hiding this comment

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

I didn't through it in a lot of detail, but some comments!


- name: create influxdb proxy
include_role:
name: basic-site
Copy link
Member Author

Choose a reason for hiding this comment

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

Indentation is out,

site: influxdb-proxy
site_name: influxdb proxy
server_name: influxdb.yunity.org
redirects: []
Copy link
Member Author

Choose a reason for hiding this comment

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

How does this work when using server-base for other playbooks which set these variables seperately? If the playbook-defined vars (e.g. playbooks/karrot-world/setup.playbook.yml) correctly overwrite them, maybe add a note here to explain? Otherwise it's a bit confusing what they are kind of reused for a different purpose.

Copy link
Member Author

Choose a reason for hiding this comment

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

Another idea would be to just treat influxdb-proxy as a seperate site with it's own folder and playbooks...

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.

2 participants