Hello Experts,
i have working command for creating self signed certificate for IHS server’s .kdb file and i was trying to use the same command through ansible. Here my aim is that ansible should detect the hostname of application servers and should use that name for the “-dn” of the command.
Below is the working command
[root@myhost bin]# ./gskcmd -cert -create -db /opt/myapp/key.kdb -label IHS -expire 3650 -size 2048 -dn “CN=myserverFQDN” -default_cert yes -pw password
but below is my play and its giving syntax error