network/TEST
2016-12-05 18:14:20 +01:00
..
roles first version 2016-12-05 18:14:20 +01:00
.gitignore first version 2016-12-05 18:14:20 +01:00
README.md first version 2016-12-05 18:14:20 +01:00
test-playbook.yml first version 2016-12-05 18:14:20 +01:00

TEST

git clone git://github.com/ansible/ansible.git --recursive
. ./ansible/hacking/env-setup

git clone git@github.com:NetworkManager/ansible-network-role.git

cd ./ansible-network-role/

cat <<EOF > ./TEST/inventory
[network-test]
v-rhel6-1 ansible_user=root
v-rhel7-b ansible_user=root
EOF

../ansible/hacking/test-module -m ./library/network_connections.py -a 'provider=nm name=t-eth0 state=present type=ethernet' --check

ansible-playbook -i ./TEST/inventory ./TEST/test-playbook.yml --verbose --check