-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force Join using ansible. #31
Comments
Hi, Unfortunately I can not reproduce your issue in my test environment. Could we investigate your problem together? Please rerun your playbook, this time with the -vvv option and redirect the output to a file: |
Could we investigate your problem together? - Sure with as much information I am allowed to share Sadly I can't provide that output as it has information, I am unable to share. And yes I have verified that it does seem to use the -f option when joining thanks for that confirmation. |
Could it be possible to replace / delete the sensitive information in the output file? This way you would not share information you are not allowed to share but I could examine the output in order to find the cause of problem. |
I will take a look at the output and see if what I can do. BUT ansible-playbook -i inventory.yml run_client_join.yml -vvv &> client_join_result.txt I don't have a playbook that is called inventory.yml and when I run the command it just gave errors that it couldn't parse that file. I am assuming that is not what you are looking for. But TBH since -f is always added then this issue can be closed as I was trying to add it manually which seems to of led to the issue of me adding it as an extra arg var. |
|
Is there a way to force rejoin to a domain where the computer object is still in the domain.
As in MCU I could use the -f option but everything I try in Ansible seems to fail.
Example of my playbook with the variables I thought would work but always fail.
hosts: all
gather_facts: false
The variables you would most likely want/need to override have been included
vars:
Active Directory
client_join_state: joined
client_join_extra_args: -f
client_domain: MYDOMAIN
client_username: MYUSERNAME
client_password: MYPASSWORD
The text was updated successfully, but these errors were encountered: