ansible-sshd/examples/example-accept-env.yml

15 lines
365 B
YAML

---
- hosts: all
tasks:
- name: Configure sshd to accept some useful environment variables
include_role:
name: ansible-sshd
vars:
sshd_namespace_append: accept-env
sshd_skip_defaults: true
sshd:
# there are some handy environment variables to accept
AcceptEnv:
LANG
LS_COLORS
EDITOR