ansible-sshd/defaults/main.yml

28 lines
1,010 B
YAML
Raw Normal View History

2014-12-18 23:12:51 +01:00
---
2014-12-22 10:25:31 +01:00
### USER OPTIONS
# Don't apply OS defaults when set to true
sshd_skip_defaults: false
# If the below is false, don't manage the service or reload the SSH
# daemon at all
2015-06-28 11:18:45 +02:00
sshd_manage_service: "{{ false if ansible_virtualization_type == 'docker' else true }}"
2015-01-13 18:42:10 +01:00
# If the below is false, don't reload the ssh deamon on change
sshd_allow_reload: "{{ sshd_manage_service }}"
# If the below is false, don't manage /var/run/sshd directory
2015-08-12 22:29:51 +02:00
sshd_manage_var_run: "{{ false if ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7' else true }}"
2014-12-22 10:25:31 +01:00
# Empty dicts to avoid errors
sshd: {}
### VARS DEFAULTS
### The following are defaults for OS specific configuration in var files in
### this role. They should not be set by role users.
sshd_packages: []
sshd_config_owner: root
sshd_config_group: root
2014-12-22 11:05:09 +01:00
sshd_config_mode: "0600"
2014-12-18 23:12:51 +01:00
sshd_config_file: /etc/ssh/sshd_config
2014-12-22 10:25:31 +01:00
sshd_binary: /usr/sbin/sshd
2014-12-18 23:12:51 +01:00
sshd_service: sshd
sshd_sftp_server: /usr/lib/openssh/sftp-server
2014-12-22 10:25:31 +01:00
sshd_defaults: {}
2015-01-13 18:42:10 +01:00
sshd_os_supported: no