Fixed "include" -> "include_tasks"
This commit is contained in:
parent
b551f464a4
commit
0d3d6eb22e
|
|
@ -4,7 +4,7 @@
|
||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
# Setup/install tasks.
|
# Setup/install tasks.
|
||||||
- include: setup-Debian.yml
|
- include_tasks: setup-Debian.yml
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
# Pure-FTPd setup
|
# Pure-FTPd setup
|
||||||
|
|
@ -18,11 +18,11 @@
|
||||||
file: dest={{ pure_ftpd_root }} mode=0755 state=directory owner={{ pure_ftpd_user }} group={{ pure_ftpd_group }}
|
file: dest={{ pure_ftpd_root }} mode=0755 state=directory owner={{ pure_ftpd_user }} group={{ pure_ftpd_group }}
|
||||||
|
|
||||||
# Create and/or install SSL certificate
|
# Create and/or install SSL certificate
|
||||||
- include: tls.yml
|
- include_tasks: tls.yml
|
||||||
when: pure_ftpd_tls
|
when: pure_ftpd_tls
|
||||||
|
|
||||||
# Create the virtual FTP users and set their passwords
|
# Create the virtual FTP users and set their passwords
|
||||||
- include: virtual-user.yml
|
- include_tasks: virtual-user.yml
|
||||||
with_items: "{{ pure_ftpd_vusers }}"
|
with_items: "{{ pure_ftpd_vusers }}"
|
||||||
|
|
||||||
- name: Link virtual FTP user database to the correct location
|
- name: Link virtual FTP user database to the correct location
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue