Upload Ansible Files

This commit is contained in:
2024-05-08 13:03:34 +02:00
parent 56902d524e
commit 9b520fbcfb
44 changed files with 1334 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
- name: APT Upgrade
hosts: all
gather_facts: false
tasks:
- name: APT Upgrade
ansible.builtin.apt:
update_cache: true
upgrade: dist
register: apt_output
- name: APT Stdout
debug:
var: apt_output
- name: Restart SSHD
ansible.builtin.service:
name: sshd
state: restarted
register: sshd_stdout
- name: SSHD Restart
debug:
var: sshd_stdout