- install vagrant
MacBook-Pro % brew install git ansible
MacBook-Pro % git clone git@github.com:astail/ansible-vuls.git
MacBook-Pro % cd ansible-vuls
MacBook-Pro % vagrant plugin install vagrant-hostmanager
MacBook-Pro % vagrant up
MacBook-Pro % ssh vuls@vuls.vagrant.com -i roles/vuls/files/id_rsa_vuls
[vuls@vuls ~]$ vuls configtest
[vuls@vuls ~]$ vuls scan
[vuls@vuls ~]$ vuls report -format-short-text | less
MacBook-Pro % ssh vuls@vuls.vagrant.com -i roles/vuls/files/id_rsa_vuls
[vuls@vuls ~]$ cd /home/vuls/vulsrepo/server
[vuls@vuls ~]$ ./vulsrepo-server
- http://vuls.vagrant.com:5111/
MacBook-Pro % brew install git ansible
MacBook-Pro % git clone git@github.com:astail/ansible-vuls.git
MacBook-Pro % cd ansible-vuls
MacBook-Pro % ansible-playbook -i inventory/hosts site.yml -lmac
MacBook-Pro % cd ~/vuls
MacBook-Pro % cp config.toml.sample config.toml
- fix config.toml
MacBook-Pro % vuls configtest
MacBook-Pro % vuls scan
MacBook-Pro % vuls report -format-short-text | less
MacBook-Pro % vim inventory/hosts
- 111.111.111.111 => your server ip address
- ssh_user_name => your server ssh user
- ansible_ssh_port => your server ssh port
- ~/.ssh/id_rsa => your server ssh key
MacBook-Pro % ansible-playbook -i inventory/hosts site.yml -l my_server