Preconditions:
- Installed ansible: http://docs.ansible.com/ansible/latest/intro_installation.html#latest-releases-via-apt-ubuntu
- Python3
- Configured vmvars.yml to run smbtorture
- Configured settings.ini to post results into testrails
- Configure hosts file with target ip (ssh binded as well to root)
- Builded smbtorture
How to run:
ansible-playbook run_smbtorture.yml --extra-vars "publish=true"
where is:
- "publish" could be true\false to post results or not
HOW TO Build smbtorture:
apt-get install acl attr autoconf bison build-essential
debhelper dnsutils docbook-xml docbook-xsl flex gdb krb5-user
libacl1-dev libaio-dev libattr1-dev libblkid-dev libbsd-dev
libcap-dev libcups2-dev libgnutls-dev libjson-perl
libldap2-dev libncurses5-dev libpam0g-dev libparse-yapp-perl
libpopt-dev libreadline-dev perl perl-modules pkg-config
python-all-dev python-dev python-dnspython python-crypto
xsltproc zlib1g-dev
and check here https://confluence.nexenta.com/display/KP/Building+smbtorture