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

Setting up Authentik without Traefik. #14

Open
jahanson opened this issue Oct 13, 2023 · 2 comments
Open

Setting up Authentik without Traefik. #14

jahanson opened this issue Oct 13, 2023 · 2 comments

Comments

@jahanson
Copy link
Contributor

I ran into an issue where it seems a variable isn't initialized when used because I opted out of Traefik to setup and use nginx myself.

{% set middlewares = [] %}

The setup will not continue without Traefik right now unfortunately.
Screenshot from 2023-10-12 18-55-51

@spantaleev
Copy link
Member

That's odd.

Are you on a recent enough version of Ansible and Jinja2? I personally haven't used this role (as far as I can remember), but haven't heard of others mentioning this error either.

@jahanson
Copy link
Contributor Author

To keep things moving I ended up keeping mash-postgres and mash-redis but opted for docker compose Authentik since it's a little more involved with outposts/integrations and since i'm already configuring nginx it wasn't too much more trouble to use their recommended docker setup for Authentik. I appreciate all of the work here I just wasn't able to use it this time.

In any case here's the version of Ansible I used on Fedora 38, using brew to install Ansible; in case it helps anyone else. Feel free to close if no one else is encountering this issue.

ansible [core 2.15.4]
  config file = None
  configured module search path = ['/home/jahanson/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/linuxbrew/.linuxbrew/Cellar/ansible/8.4.0/libexec/lib/python3.11/site-packages/ansible
  ansible collection location = /home/jahanson/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/linuxbrew/.linuxbrew/bin/ansible
  python version = 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 11.4.0] (/home/linuxbrew/.linuxbrew/Cellar/ansible/8.4.0/libexec/bin/python)
  jinja version = 3.1.2
  libyaml = True

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

No branches or pull requests

2 participants