add copr-dist-git more swap
This commit is contained in:
parent
ea41662e7e
commit
84f7b6bf04
3 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
instance_type: ms1.medium
|
||||
instance_type: ms1.medium.bigswap
|
||||
#image: "{{ centos70_x86_64 }}"
|
||||
image: rhel7-20141015
|
||||
keypair: fedora-admin-20130801
|
||||
|
|
|
@ -594,6 +594,7 @@
|
|||
- { name: ms1.tiny, ram: 512, disk: 1, vcpus: 1, swap: 512 }
|
||||
- { name: ms1.small, ram: 2048, disk: 20, vcpus: 1, swap: 2048 }
|
||||
- { name: ms1.medium, ram: 4096, disk: 40, vcpus: 2, swap: 4096 }
|
||||
- { name: ms1.medium.bigswap, ram: 4096, disk: 40, vcpus: 2, swap: 400000 }
|
||||
- { name: ms1.large, ram: 8192, disk: 50, vcpus: 4, swap: 4096 }
|
||||
- { name: ms1.xlarge, ram: 16384, disk: 160, vcpus: 8, swap: 16384 }
|
||||
# inspired by http://aws.amazon.com/ec2/instance-types/
|
||||
|
|
|
@ -3,3 +3,8 @@
|
|||
|
||||
- name: mount up disk of copr repo
|
||||
mount: name=/var/lib/dist-git src='LABEL=copr-dist-git' fstype=ext4 state=mounted
|
||||
|
||||
- name: Mount tmp as tmpfs
|
||||
action: lineinfile dest=/etc/fstab regexp="/tmp" line="tmpfs /tmp tmpfs defaults,size=20G 0 0" state=present
|
||||
|
||||
- mount: name=/tmp src=tmpfs fstype=tmpfs state=present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue