computer-playbook/roles/pc_system-swapfile/tasks/main.yml

10 lines
461 B
YAML
Raw Normal View History

- name: pull swapfile creating script
git:
2023-05-28 22:17:33 +02:00
repo: "https://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