Re: [ansible-project] VM not joining domain

2020-06-11 Thread Tony Wong
looks like the join account keeps locking out my domain account. any idea
why its doing that? The password is correct.



On Thu, Jun 11, 2020 at 7:35 AM Tony Wong  wrote:

> does this mean anything?
>
>
>  "invocation": {
> "module_args": {
> "annotation": "Master #1",
> "cdrom": [],
> "cluster": "RW-VA",
> "convert": null,
> "customization": {
> "dns_servers": [
> "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
> ],
> "domain": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
> "domainadmin": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
> "domainadminpassword":
> "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
> "hostname": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
> "joindomain": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
> },
> "customization_spec": null,
> "customvalues": [],
> "datacenter": "RW-VA",
> "datastore": null,
> "disk": [
> {
> "datastore": "RW-VA-NIM-VOL1",
> "size_gb": 60,
> "type": "thin"
> }
> ],
> "esxi_hostname": null,
> "folder": "ansible",
> "force": false,
> "guest_id": "windows9Server64Guest",
> "hardware": {
> "memory_mb": "1024",
> "num_cpus": "1"
> },
> "hostname": "vasvw-vcsa.",
> "is_template": false,
> "linked_clone": false,
> "name": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
> "name_match": "first",
> "networks": [
> {
> "dns_servers": [
> "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
> ],
>
> On Wed, Jun 10, 2020 at 3:21 PM David Foley  wrote:
>
>> Did you check the windows Event logs for the Active Directory
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-project+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/64defabf-bc9f-43e3-82fc-fd48e567e25ao%40googlegroups.com
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpbnL7yRroKx%2B77-bMWBmw6bo-JZ5ivRfmaNA33BHvHmA%40mail.gmail.com.


Re: [ansible-project] VM not joining domain

2020-06-11 Thread Tony Wong
does this mean anything?


 "invocation": {
"module_args": {
"annotation": "Master #1",
"cdrom": [],
"cluster": "RW-VA",
"convert": null,
"customization": {
"dns_servers": [
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
],
"domain": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"domainadmin": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"domainadminpassword":
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"hostname": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"joindomain": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
},
"customization_spec": null,
"customvalues": [],
"datacenter": "RW-VA",
"datastore": null,
"disk": [
{
"datastore": "RW-VA-NIM-VOL1",
"size_gb": 60,
"type": "thin"
}
],
"esxi_hostname": null,
"folder": "ansible",
"force": false,
"guest_id": "windows9Server64Guest",
"hardware": {
"memory_mb": "1024",
"num_cpus": "1"
},
"hostname": "vasvw-vcsa.",
"is_template": false,
"linked_clone": false,
"name": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"name_match": "first",
"networks": [
{
"dns_servers": [
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
],

On Wed, Jun 10, 2020 at 3:21 PM David Foley  wrote:

> Did you check the windows Event logs for the Active Directory
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/64defabf-bc9f-43e3-82fc-fd48e567e25ao%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpazOtOpqncd1rNiYanbjnJq%2B7XNXsseAMftU7k6hMZsA%40mail.gmail.com.


[ansible-project] VM not joining domain

2020-06-10 Thread David Foley
Did you check the windows Event logs for the Active Directory 

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/64defabf-bc9f-43e3-82fc-fd48e567e25ao%40googlegroups.com.


[ansible-project] VM not joining domain

2020-06-10 Thread Tony Wong
any idea why my Vm is not joining domain? Credentials are correct

---
# Deploy a VM from a template using Ansible 'vmware_guest' module
- name: Deploy VM from template
  vmware_guest:
hostname: '{{ deploy_vsphere_host }}'
username: '{{ deploy_vsphere_user }}'
password: '{{ deploy_vsphere_password }}'
validate_certs: no
datacenter: '{{ deploy_vsphere_datacenter }}'
cluster: '{{ deploy_vsphere_cluster }}'
#resource_pool: '{{ deploy_vsphere_resourcepool }}'
folder: '{{ deploy_vsphere_folder }}'
name: '{{ inventory_hostname }}'
state: poweredon
guest_id: '{{ guest_id }}'
annotation: "{{ guest_notes }}"
disk:
- size_gb: 60
  type: thin
  datastore: '{{ deploy_vsphere_datastore }}'
networks:
- name: '{{ guest_network }}'
  ip: '{{ guest_custom_ip }}'
  netmask: '{{ guest_netmask }}'
  gateway: '{{ guest_gateway }}'
  dns_servers:
  - '{{ guest_dns_server }}'
  start_connected: yes
hardware:
  memory_mb: '{{ guest_memory }}'
  num_cpus: '{{ guest_vcpu }}'
customization:
  dns_servers:
  - '{{ guest_dns_server }}'
  domain : '{{ guest_domain_name }}'
  hostname: '{{ inventory_hostname }}'
  joindomain: '{{ guest_domain_name }}'
  domainadmin: '{{ domain_admin }}'
  domainadminpassword: ' {{ domain_admin_pass }}'
template: '{{ guest_template }}'
wait_for_ip_address: yes
state: poweredon
  delegate_to: localhost

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpCZ5PE2oaY0_bVYgHKM8Hw3%2Bk6AU5vF9Zewik_t2w0fg%40mail.gmail.com.