Re: new task for creating swap file
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 signature.asc Description: PGP signature ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org
new task for creating swap file
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 -- Miroslav Suchy, RHCA Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys ___ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org 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@lists.fedoraproject.org