Add CI #4

Merged
noah.knegt merged 9 commits from ci into master 2023-03-30 14:47:55 +02:00
16 changed files with 79 additions and 92 deletions
Showing only changes of commit 85a1dd4b93 - Show all commits

View File

@@ -10,7 +10,7 @@
--- ---
- name: apt_update - name: apt_update
apt: apt:
update_cache: yes update_cache: true
- name: restart_sshd - name: restart_sshd
service: service:

View File

@@ -19,7 +19,7 @@
service: service:
name: "{{ openssh_service }}" name: "{{ openssh_service }}"
state: started state: started
enabled: yes enabled: true
- name: configure sshd - name: configure sshd
template: template:

View File

@@ -38,7 +38,7 @@
group: ansible group: ansible
mode: 0700 mode: 0700
with_items: with_items:
- { dir: /home/ansible/.ssh } - dir: /home/ansible/.ssh
- name: Copy ssh public key - name: Copy ssh public key
authorized_key: authorized_key: