From 2c3fb0d51f0e1044eaca306cc74045b01a202891 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 6 Oct 2016 15:22:05 -0400 Subject: built ldap_certs, fixed sudo task --- roles/ldap_certs/tests/test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/ldap_certs/tests/test.yml (limited to 'roles/ldap_certs/tests') 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' } -- cgit