update
This commit is contained in:
parent
bee972ff5f
commit
e4da8e7ce6
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install docker
|
||||
hosts: "{{ my_hosts | d([]) }}"
|
||||
hosts: 192.168.1.15
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
---
|
||||
- name: Git update
|
||||
hosts: localhost
|
||||
|
||||
- name: Git update k5bss
|
||||
hosts: webhost
|
||||
|
||||
tasks:
|
||||
- name: Git Pull
|
||||
ansible.builtin.git:
|
||||
repo: https://git.ki5bhv.com/justin/Ansible.git
|
||||
dest: /home/justin/Ansible
|
||||
repo: https://git.ki5bhv.com/justin/k5bss.com.git
|
||||
dest: /var/www/k5bss.com
|
||||
single_branch: yes
|
||||
version: main
|
||||
|
||||
:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Setting time zone
|
||||
hosts: all
|
||||
hosts: linux
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1,14 @@
|
|||
- name: Ubuntu Server Cleanup
|
||||
hosts: linux
|
||||
become: true
|
||||
serial: 1
|
||||
|
||||
tasks:
|
||||
- name: Remove unused packages and dependencies
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
|
||||
- name: Clean APT cache
|
||||
ansible.builtin.apt:
|
||||
clean: yes
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Add ssh key
|
||||
hosts: all
|
||||
hosts: nextcloud-docker.k5bss.com
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
- name: Flush DNS Cache on Remote Hosts
|
||||
hosts: all
|
||||
become: yes # Requires root privileges
|
||||
tasks:
|
||||
- name: Flush DNS cache using resolvectl (for systemd-resolved)
|
||||
ansible.builtin.command: resolvectl flush-caches
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Install core packages for virtual machines
|
||||
hosts: "{{ my_hosts | d([]) }}"
|
||||
hosts: 192.168.1.15
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Installing Nvim
|
||||
hosts: killer-laptop.ki5bhv.com
|
||||
hosts: 192.168.1.15
|
||||
|
||||
|
||||
tasks:
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
- name: Proxmox Update and upgrade apt packages
|
||||
hosts: proxmox
|
||||
become: yes
|
||||
serial: 1
|
||||
|
||||
tasks:
|
||||
- name: Update packages with apt
|
||||
|
|
|
|||
Loading…
Reference in New Issue