ansible-sshd/tasks/main.yml

13 lines
371 B
YAML
Raw Normal View History

2014-12-18 23:12:51 +01:00
---
- name: Print that the sshd variable is deprecated
when: sshd is defined
ansible.builtin.debug:
msg: >-
The sshd variable is deprecated and will be removed
in a future version. Edit your playbook to use
the sshd_config variable instead.
2014-12-18 23:12:51 +01:00
- name: Invoke the role, if enabled
ansible.builtin.include_tasks: sshd.yml
when: sshd_enable|bool