Add missing files

This commit is contained in:
Patrick Toal
2018-12-06 16:29:26 -05:00
parent 9e4c8093e5
commit 65ed5e0ce8
29 changed files with 1676 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
LOGFILE = /tmp/ansible-freeipaclient-logfile
default: test
clean:
- vagrant destroy -f
box: clean
# Start vagrant box
vagrant up --no-provision --provider $(ANSIBLE_FREEIPACLIENT_VAGRANT_PROVIDER)
checkmode:
# Test checkmode
ANSIBLE_FREEIPACLIENT_VAGRANT_ANSIBLE_CHECKMODE=1 vagrant provision
provision:
# Test role
vagrant provision
idempotence:
# Idempotence test
vagrant provision | tee $(LOGFILE) | grep 'changed=0.*failed=0' || (cat $(LOGFILE) && false)
test: box checkmode provision idempotence
make checkmode