Skip to content

Commit

Permalink
scripts: install basic
Browse files Browse the repository at this point in the history
  • Loading branch information
ActivePeter committed Apr 23, 2024
1 parent e758dbc commit b42f349
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions scripts/install/1.install_basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ check_and_install_python_package "ansible" #==4.9.0
check_and_install_python_package "wordlist"
check_and_install_python_package "jsondiff"
check_and_install_python_package "numpy"

apt-get install language-pack-en
locale-gen en_US.UTF-8
9 changes: 9 additions & 0 deletions scripts/install/2.ans_install_build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

### chdir
import os
CUR_FPATH = os.path.abspath(__file__)
CUR_FDIR = os.path.dirname(CUR_FPATH)
# chdir to the directory of this script
os.chdir(CUR_FDIR)

os.system('ansible-playbook -vv 2.ans_install_build.yml -i ../local_ansible_conf.ini')
2 changes: 0 additions & 2 deletions scripts/install/2.ans_install_build.sh

This file was deleted.

0 comments on commit b42f349

Please sign in to comment.