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

@@ -1,16 +1,16 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This file contains all the handlers for the base role.
#===================================================================================================
# ===================================================================================================
---
- name: apt_update
apt:
update_cache: yes
update_cache: true
- name: restart_sshd
service:

View File

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

View File

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