Refactored git clone to Kevin's Package Manager (Draft not fully tested)

This commit is contained in:
2025-04-01 14:40:04 +02:00
parent 659c24eb14
commit 526f1c952d
21 changed files with 229 additions and 48 deletions

View File

@@ -1,11 +1,8 @@
- name: pull swapfile creating script
git:
repo: "https://github.com/kevinveenbirkenbach/create-linux-swapfile.git"
dest: "$HOME/Repositories/github.com/kevinveenbirkenbach/create-linux-swapfile"
update: yes
ignore_errors: true
become: false
- name: install swap-forge
command:
cmd: "pkgmgr install backup-docker-to-local"
become: true
- name: Execute create swapfile script
ansible.builtin.shell: bash "/home/{{client_username}}/Repositories/github.com/kevinveenbirkenbach/create-linux-swapfile/create-linux-swapfile.sh" "{{swapfile_size}}"
ansible.builtin.shell: swap-forge "{{swapfile_size}}"
become: true