vmware / ansible-for-nsxt

Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. This project is to enable this automation for NSX-T installation.
Other
171 stars 145 forks source link

update VALUE_SPECIFIED_IN_NO_LOG_PARAMETER for user_settings cli_password and root_password #425

Open jcralbino opened 2 years ago

jcralbino commented 2 years ago

Describe the bug

when executing the vmware.ansible_for_nsxt.nsxt_manager_auto_deployment with -vvvv we are seeing in the logs the passwords provided for cli and root.

please add them VALUE_SPECIFIED_IN_NO_LOG_PARAMETER

snip of the output seen

..
                  "user_settings": {
                        "cli_password": "!VF7p",
                        "root_password": "!sdsds"
                    }
                }
            ],
            "hostname": "10.1.12.2",
            "node_id": null,
            "node_name": null,
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "port": 443,
            "state": "present",
            "username": "admin",
            "validate_certs": false
        }

Reproduction steps

1. execute playbook used to deploy second and third node using  vmware.ansible_for_nsxt.nsxt_manager_auto_deployment
2. enable -vvvv logging
3. during execution review logs
...

Expected behavior

the passwords are not shown

Additional context

No response