ansible-sshd/meta/make_option_list

17 lines
238 B
Text
Raw Normal View History

2014-12-18 23:12:51 +01:00
#!/bin/sh
2014-12-25 10:58:55 +01:00
cat 10_top.j2
2014-12-18 23:12:51 +01:00
2014-12-25 10:58:55 +01:00
cat options_match |
2014-12-18 23:12:51 +01:00
awk '{
2014-12-25 10:58:55 +01:00
print "{{ render_option(\""$1"\",match[\""$1"\"],true) -}}"
2014-12-18 23:12:51 +01:00
}'
2014-12-25 10:58:55 +01:00
cat 20_middle.j2
cat options_body |
awk '{
print "{{ body_option(\""$1"\",sshd_"$1") -}}"
}'
cat 30_bottom.j2