From 8e1e726c481e839cd708ac1127c474cd83db5326 Mon Sep 17 00:00:00 2001 From: Philippe Sampont Date: Sat, 12 Jan 2019 12:18:46 +0100 Subject: [PATCH] Add favicon.ico to apache default vhost #7 --- roles/common/files/favicon.conf | 7 +++++++ roles/common/files/favicon.ico | Bin 0 -> 7358 bytes roles/common/tasks/apache2.yml | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 roles/common/files/favicon.conf create mode 100644 roles/common/files/favicon.ico diff --git a/roles/common/files/favicon.conf b/roles/common/files/favicon.conf new file mode 100644 index 00000000..afa5e3f4 --- /dev/null +++ b/roles/common/files/favicon.conf @@ -0,0 +1,7 @@ +# ajoute un favicon dans tous les vhosts + + + SetHandler none + + +alias /favicon.ico /var/www/favicon.ico diff --git a/roles/common/files/favicon.ico b/roles/common/files/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c000626c413c092d41f7e042371a7f6910785273 GIT binary patch literal 7358 zcmdU!d2k!oeaD%}O!H^{>*SBl^p7^pVOx?VilQz`vSd3~r;|46Oj1u0Cr;8NZW70~ zd`Z?ti8?8g62%iBK;k070~c}M2XWuW?&8Mc*u`RT5ELm{cAEYGNQ_!bowR>6Q|QO{ z-tIo^e)jwOz2AEe>gxIo{M)sw3(7Ba3I3|9>o2>yy1op5aH{J^@Yg#3|M&CY!Go=> zt$SNr_wV0__Mi7fHaG8<%jHxufng|~%T{R`sQz3?0F%pQZC1?`M z?a0`j?`g1|qtc$eyWf86w}UsX^0*v>UKfc(N~Kb>*@T`?lnWjWfmf^5KvEP%1MLqq za2%&73cd(e{}epv(`Yo{Cedg_sZ`wdXMQ}VeCD}bU;Nv@dG47nfA>4ze(kj%pF02H z(C7%4%h77J@SJoyP1E$x5+08?p|xL@7`nUn?R;+6vtN1UOMmyp9Xp?S|8_q& ztYv3R(?P`@%{)^g;4cW2N+moUMDzK4Mx#+A5^=bknH4_ED&@t^izTNCGw_R!sf3=L zGhg%0-7qrm$XTos`D zXP*1Ym%r4#Z}F`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YenmZ^tVbjj&n&KFrew1@1qWBnrWLT?zlL(I8Mz8kIE<)FQc9>Xa%?iw1SL1lw9g8zo+B6)BNH0hCaM9 za(-<5>I`FOV*J|h?MoL&F7&f*PWpxL7Rqu^T@D-SC~?2>X&!GQYpi4QZJ168LUkOs z5DZ)EsDgBADX*Ch>F5yjG&E4tdRz*-vy5uKpc_ROFNBydsSPKVU<=77Ap%{x8j{*5 zH$UFWY*2wFZmP#&{h+SG?*jn^830egO@QbACr|kQ5pWhv>jK)-f@#|_9^ka z_+EOW>}%#A%NZLOn12KRbhqk*yRK&1-b{I#+34LOevd{s3Y@fZId4vGmN!4XU;bzv zZI;4KTvo6Nvw9<}iW~TY-?s)u?W3k0214FuA%cl!zVgv}Xd{nq5}$s`<7e)D@&LbA zbvHBQ{q@JsciMkwf4aJ!R{#5v)|IZVPd@*!{>&dfIRnS{yN(z?2X(gVFW}3q8a`*9 zQXhGE9_n_yJgWct;qjkP8(a5>e*bO#`G?Q>+#l<9|HqEAaGS2rKD-Wf`}$+`+17RF u|HK;ZZ){zMx_$jo4P5QxC)7sh-gTsX{j+B~_2=)m>fgTS|HGNCuKxgNH{=8W literal 0 HcmV?d00001 diff --git a/roles/common/tasks/apache2.yml b/roles/common/tasks/apache2.yml index c483b23e..454f01f8 100644 --- a/roles/common/tasks/apache2.yml +++ b/roles/common/tasks/apache2.yml @@ -60,6 +60,13 @@ notify: restart apache when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' +- name: Copy favicon + copy: src=favicon.ico dest=/var/www/favicon.ico owner=www-data group=www-data mode=0644 + +- name: Install favicon + copy: src=favicon.conf dest=/etc/apache2/conf.d/ owner=root group=root mode=0644 + notify: restart apache + - name: check apache configuration command: apache2ctl configtest when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'