Skip to content

Basic webserver configurations #435

Closed Answered by StoffelCPR
StoffelCPR asked this question in Q&A
Discussion options

You must be logged in to vote

And we got it working thanks to @alessfg.

The apparent problem was, with a correct configuration, that my jinja version was "too old" the most recent Jinja2 version with some bug fixes also fixed my deployment problem.

Solution thereof:

python3 -m pip install --upgrade jinja2

! BE AWARE: Upgrading that package MIGHT break other packages you have installed that rely on older versions. Check your dependencies but upgrading should be fine for jinja2.

Also my complete deployment now looks like this:

---
- hosts: git.my.domain
  become: true
  tasks:
    - name: "Install nginx"
      ansible.builtin.include_role:
        name: nginxinc.nginx
      vars:
        nginx_enable: true
        nginx…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by StoffelCPR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant