mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-16 23:36:04 +02:00
Add 'client-playbook/' from commit '13f29ce5f74bba0376e04189e757cb9718cf2f93'
git-subtree-dir: client-playbook git-subtree-mainline: e763d135707241dc1eb8ec9ea919550b3f17fef6 git-subtree-split: 13f29ce5f74bba0376e04189e757cb9718cf2f93
This commit is contained in:
2
client-playbook/roles/system-swapfile/meta/main.yml
Normal file
2
client-playbook/roles/system-swapfile/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- application-git
|
10
client-playbook/roles/system-swapfile/tasks/main.yml
Normal file
10
client-playbook/roles/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