fix: fix Jinja2 spacing issues

This commit is contained in:
Christoph Schug 2024-03-03 17:01:00 +01:00
parent bde2063ec9
commit 539b98d14b
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
tasks:
- name: Install public keys
ansible.posix.authorized_key:
user: "{{ lookup('env','USER') }}"
user: "{{ lookup('env', 'USER') }}"
state: present
key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"

View File

@ -5,7 +5,7 @@
tasks:
- name: Deploy traefik
become_user: "{{ lookup('env','USER') }}"
become_user: "{{ lookup('env', 'USER') }}"
community.docker.docker_container:
name: traefik
image: "traefik:v2.5"

View File

@ -23,7 +23,7 @@
- name: Add docker repository
ansible.builtin.apt_repository:
filename: docker
repo: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename|lower }} stable
repo: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename | lower }} stable
state: present
- name: Install docker engine

View File

@ -10,4 +10,4 @@
name: microk8s
- name: Add user permissions
ansible.builtin.shell: "usermod -aG microk8s {{ lookup('env','USER') }}"
ansible.builtin.shell: "usermod -aG microk8s {{ lookup('env', 'USER') }}"