copr: enable swap on copr-dist-git

This commit is contained in:
Miroslav Suchý 2020-02-24 19:08:07 +01:00 committed by Pierre-Yves Chibon
parent 5c6ca383ab
commit 101ffe36dc
2 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,8 @@ tcp_ports: [22, 80, 443]
datacenter: aws
freezes: false
devel: true
swap_file_size_mb: 2048
swap_file_path: /swap
# consumed by roles/copr/certbot
letsencrypt:

View file

@ -15,6 +15,10 @@
- import_tasks: "{{ tasks_path }}/aws_cloud.yml"
when: datacenter == 'aws'
- import_tasks: "{{ tasks_path }}/swap.yml"
when:
- datacenter == 'aws'
- swap_file_size_mb is defined
- name: cloud basic setup
hosts: copr_dist_git_dev:copr_dist_git_stg:copr_dist_git:copr_dist_git_dev_aws:copr_dist_git_aws