On Mon, Feb 24, 2020 at 09:27:29PM +0100, Miroslav Suchý wrote: > I created new task for creating swap file and mount it. > https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/tasks/swap.yml > It is handy in AWS where flavors does not have swap disk. > > You can use it like: > > tasks: > - import_tasks: "{{ tasks_path }}/swap.yml" > when: > - datacenter == 'aws' > - swap_file_size_mb is defined > > It uses two variables (values are just example): > > swap_file_size_mb: 2048 > swap_file_path: /swap Cool. That could come in handy. Thanks! kevin
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx