Hello Team,
I want to enable the force authentication via Ansible script. Can u tell me how can I set the sonar.forceauthentication=true
I need to run the Ansible on more then 60 instances.
I tried the following but it doesn’t enable the force userauthentication.
Url: “{{sonar_url}}/api/settings/set”
method: POST
body: “key=sonar.forceAuthnetication&value=true”
force_basic_auth: yes
user: admin
password: admin
validate_certs: no
Can you tell me how can I pass the authorization header in this case?its telling me unauthorized error for this task
Sonarversion 6.7.3 is being used by us
Regards,
Yash BRAHMANI