mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Merged client playbook and server playbook
This commit is contained in:
10
roles/pc_system-swapfile/tasks/main.yml
Normal file
10
roles/pc_system-swapfile/tasks/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: pull swapfile creating script
|
||||
git:
|
||||
repo: "git@github.com:kevinveenbirkenbach/create-linux-swapfile.git"
|
||||
dest: "$HOME/Repositories/github.com/kevinveenbirkenbach/create-linux-swapfile"
|
||||
update: yes
|
||||
become: false
|
||||
|
||||
- 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}}"
|
||||
become: true
|
Reference in New Issue
Block a user