Skip to content

Commit

Permalink
Generate SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
fboender committed Jul 18, 2016
1 parent e6886d4 commit 22ad53a
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions example/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,18 @@ export PYTHONPATH=../lib
##

# Python v2
echo "python2 ../src/ansible-cmdb -i hosts out > gen_html_fancy_2.html"
set -x
python2 ../src/ansible-cmdb -i hosts out > gen_html_fancy_2.html
echo "python2 ../src/ansible-cmdb -p local_js=1 -i hosts out > gen_html_fancy_localjs_2.html"
python2 ../src/ansible-cmdb -p local_js=1 -i hosts out > gen_html_fancy_localjs_2.html
echo "python2 ../src/ansible-cmdb -t txt_table -i hosts out > gen_txt_table_2.txt"
python2 ../src/ansible-cmdb -t txt_table -i hosts out > gen_txt_table_2.txt
echo "python2 ../src/ansible-cmdb -t csv -i hosts out > gen_csv_2.csv"
python2 ../src/ansible-cmdb -t csv -i hosts out > gen_csv_2.csv
echo "python2 ../src/ansible-cmdb -t markdown -i hosts out > gen_markdown_2.md"
python2 ../src/ansible-cmdb -t markdown -i hosts out > gen_markdown_2.md
python2 ../src/ansible-cmdb -t sql -i hosts out > gen_sql_2.md

# Python v3
echo "python3 ../src/ansible-cmdb -i hosts out > gen_html_fancy_3.html"
python3 ../src/ansible-cmdb -i hosts out > gen_html_fancy_3.html
echo "python3 ../src/ansible-cmdb -p local_js=1 -i hosts out > gen_html_fancy_localjs_3.html"
python3 ../src/ansible-cmdb -p local_js=1 -i hosts out > gen_html_fancy_localjs_3.html
echo "python3 ../src/ansible-cmdb -t txt_table -i hosts out > gen_txt_table_3.txt"
python3 ../src/ansible-cmdb -t txt_table -i hosts out > gen_txt_table_3.txt
echo "python3 ../src/ansible-cmdb -t csv -i hosts out > gen_csv_3.csv"
python3 ../src/ansible-cmdb -t csv -i hosts out > gen_csv_3.csv
echo "python3 ../src/ansible-cmdb -t markdown -i hosts out > gen_markdown_3.md"
python3 ../src/ansible-cmdb -t markdown -i hosts out > gen_markdown_3.md
python3 ../src/ansible-cmdb -t sql -i hosts out > gen_sql_3.md

0 comments on commit 22ad53a

Please sign in to comment.