ansible-role-swap icon indicating copy to clipboard operation
ansible-role-swap copied to clipboard

use shell instead of command

Open 5n00p4eg opened this issue 3 years ago • 1 comments

Playbook example

---
- hosts: fedora36
  vars:
    swap_file_size_mb: '1024'
    ansible_user: root
    swap_file_create_command: "truncate -s 0 {{ swap_file_path }} && chattr +C {{ swap_file_path }} && fallocate -l {{ swap_file_size_mb }}MiB {{ swap_file_path }}"

  roles:
     - geerlingguy.swap

5n00p4eg avatar Sep 30 '22 09:09 5n00p4eg

Possible resolution for #28

5n00p4eg avatar Sep 30 '22 09:09 5n00p4eg

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] avatar Jan 05 '23 07:01 stale[bot]

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.

stale[bot] avatar Feb 18 '23 05:02 stale[bot]