...
 
Commits (2)
......@@ -15,5 +15,4 @@
- pool
- user: name=acme home=/srv/acme
- template: src=etc/nginx/mime.types.j2 dest=/etc/nginx/mime.types
- shell: "umask 0077; openssl genrsa 4096 > /srv/acme/account.key creates=/srv/acme/account.key"
become_user: acme
- shell: "umask 0077; openssl genrsa 4096 > /srv/acme/account.key; chown acme /srv/acme/account.key creates=/srv/acme/account.key"
......@@ -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 }}"
......