Rework ansible #1

Merged
polyfloyd merged 14 commits from linting into main 2024-07-12 17:40:38 +02:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 4fe85270a6 - Show all commits

View file

@ -1,8 +0,0 @@
---
- name: Update authorized_keys
ansible.builtin.template:
src: authorized_keys.j2
dest: /root/.ssh/authorized_keys
mode: 0600
when: root_access is defined and root_access
tags: authorized_keys

View file

@ -30,6 +30,14 @@
ansible.builtin.import_tasks:
file: apt-minimal.yaml
- name: Update authorized_keys
ansible.builtin.template:
src: authorized_keys.j2
dest: /root/.ssh/authorized_keys
mode: 0600
when: root_access is defined and root_access
tags: authorized_keys
- tags: network
ansible.builtin.import_tasks:
file: network.yaml