18 lines
484 B
YAML
Executable File
18 lines
484 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Deploy vsftpd server on the mirrors
|
|
- hosts: vsftpd_mirror
|
|
vars:
|
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
|
vsftpd: '{{ glob_vsftpd_mirror | default({}) | combine(loc_vsftpd | default({})) }}'
|
|
roles:
|
|
- certbot
|
|
- vsftpd
|
|
|
|
# Deploy vstfpd on the camera serveur
|
|
- hosts: vsftpd_cameras
|
|
vars:
|
|
vsftpd: '{{ glob_vsftpd_cameras | default({}) | combine(loc_vsftpd | default({})) }}'
|
|
roles:
|
|
- vsftpd
|