ansible-sshd/meta/make_option_list

21 lines
305 B
Text
Raw Normal View History

2014-12-18 23:12:51 +01:00
#!/bin/sh
cat macros.j2
2014-12-18 23:12:51 +01:00
cat ssh_multi_options |
sort |
awk '{
print "{{ sshd_multiline(\""$1"\",sshd_"$1") -}}"
2014-12-18 23:12:51 +01:00
}'
cat ssh_kv_options |
sort |
awk '{
print "{{ sshd_value(\""$1"\",sshd_"$1") -}}"
}'
2014-12-18 23:12:51 +01:00
cat ssh_boolean_options |
sort |
awk '{
print "{{ sshd_boolean(\""$1"\",sshd_"$1") -}}"
2014-12-18 23:12:51 +01:00
}'