aboutsummaryrefslogtreecommitdiff
path: root/roles/ldap_certs/tests/test.yml
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2016-10-06 15:22:05 -0400
committerB Stack <bgstack15@gmail.com>2016-10-06 15:22:05 -0400
commit2c3fb0d51f0e1044eaca306cc74045b01a202891 (patch)
tree83bb69098cfc5d07d3a5ceb27794f1a2fbaae00b /roles/ldap_certs/tests/test.yml
parentFixed a few things, added ldap_certs stub (diff)
downloadansible01-master.tar.gz
ansible01-master.tar.bz2
ansible01-master.zip
built ldap_certs, fixed sudo taskHEADmaster
Diffstat (limited to 'roles/ldap_certs/tests/test.yml')
-rw-r--r--roles/ldap_certs/tests/test.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/ldap_certs/tests/test.yml b/roles/ldap_certs/tests/test.yml
new file mode 100644
index 0000000..9ef1e9c
--- /dev/null
+++ b/roles/ldap_certs/tests/test.yml
@@ -0,0 +1,11 @@
+---
+- name: Test playbook for ldap_certs
+ hosts: test
+ remote_user: root
+ roles:
+ - ldap_certs
+ vars:
+ ldap_certs:
+ - { exists: 'false', gets_hashlink: 'false', file: '../../../company/ldap_certs-files/CA1-CA1.crt' }
+ - { exists: 'false', gets_hashlink: 'false', file: '../../../company/ldap_certs-files/CA2-SubCA.crt' }
+ - { exists: 'true', gets_hashlink: 'true', file: '../../../company/ldap_certs-files/certs-example-2016.pem' }
bgstack15