mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
fix: fix Jinja2 spacing issues
This commit is contained in:
parent
bde2063ec9
commit
539b98d14b
@ -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') }}"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user