xci: osa: Use Ansible modules to create ssl certificates 95/54895/1
authorMarkos Chandras <mchandras@suse.de>
Tue, 3 Apr 2018 11:47:54 +0000 (12:47 +0100)
committerMarkos Chandras <mchandras@suse.de>
Wed, 4 Apr 2018 09:55:12 +0000 (10:55 +0100)
commit9fc661b56dbd90df944755140bfff88fb1197fbd
tree99428d2a69a577ebb14afbdcba82742b2e5284db
parent8199744e9cee88127291b22ebeb9e78142cc4ade
xci: osa: Use Ansible modules to create ssl certificates

Ansible already provides modules to create ssl certificates so we can
use these instead of running the openssl commands directly. Moreover, we
can drop all the tasks which create the ssl directories since there are
being created by the openssl package which also creates the appropriate
symlinks. Finally, there is no need to generate the certificate on
localhost if only the OPNFV host consumes it, so move these steps to
the appropriate playbook.

Change-Id: I0045945c502013be3d76440876e894a44a092690
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/osa/playbooks/configure-opnfvhost.yml
xci/playbooks/configure-localhost.yml