mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-01 02:33:10 +01:00
11 lines
483 B
YAML
11 lines
483 B
YAML
- 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: 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 |