ansible/test/integration/Makefile

15 lines
684 B
Makefile
Raw Normal View History

all: non_destructive destructive check_mode test_hash # amazon rackspace
2014-02-20 19:00:05 +01:00
non_destructive:
ansible-playbook non_destructive.yml -i inventory -e @integration_config.yml -v $(TEST_FLAGS)
2014-02-20 19:05:03 +01:00
destructive:
2014-02-20 19:05:03 +01:00
ansible-playbook destructive.yml -i inventory -e @integration_config.yml -v $(TEST_FLAGS)
check_mode:
ansible-playbook check_mode.yml -i inventory -e @integration_config.yml -v --check $(TEST_FLAGS)
test_hash:
ANSIBLE_HASH_BEHAVIOUR=replace ansible-playbook test_hash.yml -i inventory -v -e '{"test_hash":{"extra_args":"this is an extra arg"}}'
ANSIBLE_HASH_BEHAVIOUR=merge ansible-playbook test_hash.yml -i inventory -v -e '{"test_hash":{"extra_args":"this is an extra arg"}}'