copr: enable swap on dist-git, be, fe

This commit is contained in:
Miroslav Suchý 2020-02-25 13:32:28 +01:00 committed by Pierre-Yves Chibon
parent ba99028573
commit a5ca744b25
2 changed files with 8 additions and 0 deletions

View file

@ -14,6 +14,10 @@
- import_tasks: "{{ tasks_path }}/aws_cloud.yml" - import_tasks: "{{ tasks_path }}/aws_cloud.yml"
when: datacenter == 'aws' when: datacenter == 'aws'
- import_tasks: "{{ tasks_path }}/swap.yml"
when:
- datacenter == 'aws'
- swap_file_size_mb is defined
- name: cloud basic setup - name: cloud basic setup
hosts: copr_back_dev:copr_back_stg:copr_back:copr_back_dev_aws:copr_back_aws hosts: copr_back_dev:copr_back_stg:copr_back:copr_back_dev_aws:copr_back_aws

View file

@ -16,6 +16,10 @@
- import_tasks: "{{ tasks_path }}/aws_cloud.yml" - import_tasks: "{{ tasks_path }}/aws_cloud.yml"
when: datacenter == "aws" when: datacenter == "aws"
- import_tasks: "{{ tasks_path }}/swap.yml"
when:
- datacenter == 'aws'
- swap_file_size_mb is defined
- name: cloud basic setup - name: cloud basic setup
hosts: copr_front_dev:copr_front:copr_front_dev_aws:copr_front_aws hosts: copr_front_dev:copr_front:copr_front_dev_aws:copr_front_aws