edb-ansible
edb-ansible copied to clipboard
setup_pemserver waits forever
When installing the role setup_pemserver the Ansible task seems to hang.
Running the exact command interactively will reveal the configure-pem-server.sh script will ask for a certificate subject:
vagrant@postgres-pem ~]$ sudo /bin/bash /usr/edb/pem/bin/configure-pem-server.sh --pemagent-certificate-path /root/.pem/ --db-install-path /usr/edb/as15 --cidr-address 0.0.0.0/0 --db-unitfile edb-as-15 --host 192.168.1.10 --port 5444 --superuser pemadmin --superpassword
EDB Postgres Enterprise Manager
--> [Info] --> [Info] Existing Installion type 1 (Web Services and Database) will be used --> [Info] --> [Info] Existing local database server installation path /usr/edb/as15 will be used --> [Info] --> [Info] Existing database super user name pemadmin will be used --> [Info] --> [Info] Existing database server port number 5444 will be used --> [Info] --> [Info] Checking database server port number: 5444 --> [Info] --> [Info] Existing CIDR formatted network address range that agents will connect to the server from, to be added to the server's pg_hba.conf file 0.0.0.0/0 will be used --> [Info] --> [Info] Existing database systemd unit file or init script name edb-as-15 will be used --> [Info] --> [Info] Existing agent certificate path /root/.pem/ will be used Please specify PEM web server (openssl) certificate subject, template: /C=CountryCode/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname/emailAddress=EmailAddress [ ] :
I think the solution could be to include the argument --server-certificate-subject to fill in the requested information.
Thanks for the good work here :)