copr: enable swap on copr-dist-git
This commit is contained in:
parent
5c6ca383ab
commit
101ffe36dc
2 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,8 @@ tcp_ports: [22, 80, 443]
|
||||||
datacenter: aws
|
datacenter: aws
|
||||||
freezes: false
|
freezes: false
|
||||||
devel: true
|
devel: true
|
||||||
|
swap_file_size_mb: 2048
|
||||||
|
swap_file_path: /swap
|
||||||
|
|
||||||
# consumed by roles/copr/certbot
|
# consumed by roles/copr/certbot
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
|
|
|
@ -15,6 +15,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_dist_git_dev:copr_dist_git_stg:copr_dist_git:copr_dist_git_dev_aws:copr_dist_git_aws
|
hosts: copr_dist_git_dev:copr_dist_git_stg:copr_dist_git:copr_dist_git_dev_aws:copr_dist_git_aws
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue