ansible/roles/sshd/meta/make_option_list

17 lines
238 B
Plaintext
Raw Normal View History

2021-03-11 08:04:57 -06:00
#!/bin/sh
cat 10_top.j2
cat options_match |
awk '{
print "{{ render_option(\""$1"\",match[\""$1"\"],true) -}}"
}'
cat 20_middle.j2
cat options_body |
awk '{
print "{{ body_option(\""$1"\",sshd_"$1") -}}"
}'
cat 30_bottom.j2