[logos] Use custom role to deploy logos
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ansible-playbook
|
||||
---
|
||||
- hosts: server
|
||||
roles:
|
||||
- logos
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Deploy custom logos
|
||||
copy:
|
||||
src: "{{ item.which }}"
|
||||
dest: "{{ item.where }}"
|
||||
owner: "{{ item.owner|default('root') }}"
|
||||
group: "{{ item.group|default('root') }}"
|
||||
mode: "{{ item.mode|default('0644') }}"
|
||||
loop: "{{ logos|default([]) }}"
|