Closed bharath8671 closed 1 year ago
Thanks for including a copy of your playbook.
As shown in the playbook samples, your sql_username
needs to be postgres
.
This is because version 12 installs a local PostgreSQL instance instead of SQL Express. The default username for PosgreSQL is postgres.
If this does not resolve your issue, feel free to reopen.
Thank you for your help I'm using this code from the repo - https://github.com/VeeamHub/veeam-ansible/tree/master/roles/veeam_vas#veeam-backup--replication-community-edition-install-without-iso-download which is why I get that error I think.
I am seeing this error even though I am specifying postgres
. This is copied from the documentation so the credentials should look familiar. Windows 2022 Server and Veeam 12.
- name: Install Veeam Backup & Recovery
hosts: all
tasks:
- include_role:
name: veeamhub.veeam.veeam_vas
tasks_from: vbr_install
vars:
version: "12"
iso_download: true
sql_install_username: "sql_install"
sql_install_password: "ChangeM3!"
sql_service_username: "svc_sql"
sql_service_password: "ChangeM3!"
sql_username: "postgres"
sql_password: "ChangeM3!"
license: true
source_license: licenses/vrb.lic
iso_download: false
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_vault.html#single-encrypted-variable
- name: Applying tuning on a local PostgreSQL server running as the VBR DB
veeamhub.veeam.veeam_vbr_set_postgres_database_server_limits:
@kbreit-insight You're most likely experiencing a different error. Please check the log specified in the error for more details.
Using the default folder it's: C:\install\logs\BackupServer. log
Looking at your playbook, your source_license
parameter is most likely to blame. It needs to be a fully qualified path.
For example:
source_license: "/root/ansible/license.lic"
Please open a new issue if you require further assistance.
Describe the bug When I run the playbook using roles from VeeamHub and used playbook with ISO download and installing community version of veeam and with out ISO download and installing community edition of Veeam Backup and Replication
To Reproduce Steps to reproduce the behavior: Installled roles - VeeamHub from ansible-galaxy used the playbook from github
name: Veeam Backup & Replication Install hosts: all tasks:
name: Copy Veeam ISO file to Windows copy: src: "/XXXX/VeeamBackup&Replication_12.0.0.1420_20230209.iso" dest: "C:\Downloads\"
include_role: name: veeamhub.veeam.veeam_vas tasks_from: vbr_install vars: version: "12" destination: "C:\Downloads\" destination_iso_file: "VeeamBackup&Replication_12.0.0.1420_20230209.iso" sql_install_username: "sql_install" sql_install_password: "PassW0rd!" sql_service_username: "svc_sql" sql_service_password: "PassW0rd!" sql_username: "sa" sql_password: "PassW0rd!"
Screenshots
Operating system used for Veeam Installation
Could anyone solve this issue