Merge pull request #146 from flamingspaz/slaveroles
Add attributes to Mesos slaves
This commit is contained in:
Коммит
fd26a7fc40
|
@ -86,6 +86,18 @@
|
|||
tags:
|
||||
- mesos
|
||||
|
||||
- name: Set attributes for mesos-slave
|
||||
template:
|
||||
src: attributes.j2
|
||||
dest: /etc/mesos-slave/attributes
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart mesos-slave
|
||||
tags:
|
||||
- mesos
|
||||
|
||||
- name: Periodically delete stopped docker containers
|
||||
cron:
|
||||
name: 'Remove stopped containers'
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
region:{{ ec2_region }};availability_zone:{{ ansible_ec2_placement_availability_zone }};cluster:{{ ec2_tag_cluster }};instance_type:{{ ec2_instance_type }};image_id:{{ ec2_image_id }};
|
Загрузка…
Ссылка в новой задаче