|
- Break previous one playbook into three playbooks:
setup.yaml: setup test environment.
run.yaml: execute test steps
clean.yaml: cleanup test environment to restore
environment
The advantage is cleaning part will never be blocked by another.
- Just do testing on remote hosts, parse logfile on localhost.
- Use ansible module instead of shell command.
- Move up all files under /ansible and remove ansible directory.
Under /ansible, ansible package cann't be imported.
Change-Id: I43c65be23869b7d42ca769994d4decb9a012d196
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|