Commit 41a2b4d5 authored by Niko Tyni's avatar Niko Tyni

create cronjobs dir and install eatmydata

parent ec0f56da
......@@ -62,8 +62,13 @@
- template: src=etc/email-addresses.j2 dest=/etc/email-addresses
when: admin_users is defined
- template: src=etc/exim4/update-exim4.conf.conf.j2 dest=/etc/exim4/update-exim4.conf.conf
- file: path=/home/debomatic/cronjobs/ owner=debomatic state=directory
- template: src=home/debomatic/cronjobs/gen-indexes.sh.j2 dest=/home/debomatic/cronjobs/gen-indexes.sh mode=0755
- template: src=home/debomatic/sbuildrc.j2 dest=/home/debomatic/.sbuildrc mode=0644
- shell: chroot /srv/chroots/{{ item[0] }}-{{item[1] }} apt-get -y install eatmydata creates=/srv/chroots/{{ item[0] }}-{{item[1] }}/usr/bin/eatmydata
with_nested:
- "{{ debomatic_chroots }}"
- "{{ debomatic_archs }}"
- template: src=srv/chroots/maybe-eatmydata/maybe-eatmydata.j2 dest=/srv/chroots/{{ item[0] }}-{{ item[1] }}/usr/local/bin/maybe-eatmydata mode=0755
with_nested:
- "{{ debomatic_chroots }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment