TASK [create vms] ***************************************************************************************************************
task path: /home/ansible/src/ansible-proxmox-cloudinit/roles/runMorph2.yml:19
File lookup using /home/ansible/src/ansible-proxmox-cloudinit/roles/templates/deploy-args-ubuntu.j2 as file
Trying secret <ansible.parsing.vault.PromptVaultSecret object at 0x7fdb1ac09d50> for vault_id=default
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ansible
<127.0.0.1> EXEC /bin/sh -c 'echo ~ansible && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849 `" && echo ansible-tmp-1576603088.61-177972580025849="` echo /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849 `" ) && sleep 0'
Using module file /home/ansible/src/ansible-proxmox-cloudinit/roles/library/proxmox_kvm.py
<127.0.0.1> PUT /home/ansible/.ansible/tmp/ansible-local-17044xQPX3F/tmp1ajJ_J TO /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849/AnsiballZ_proxmox_kvm.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849/ /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849/AnsiballZ_proxmox_kvm.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ndfphjjvdwbyrpiaaarycxeoasvaiczz ; /home/ansible/venv/bin/python2 /home/ansible/.ansible/tmp/ansible-tmp-1576603088.61-177972580025849/AnsiballZ_proxmox_kvm.py'"'"' && sleep 0'
changed: [localhost] => (item={'value': {u'node': u'ceph-hv-01', u'ipconfig': u'{"ipconfig0":"ip=172.30.32.100/24,gw=172.30.32.1"}', u'cloudinit': True, u'template': u'ubuntu-ansible', u'type': u'ubuntu'}, 'key': u'ubuntu-cloud-init-1'}) => {
"ansible_loop_var": "item",
"changed": true,
"devices": {
"scsi0": "rbd_nvme_general:vm-102-disk-0"
},
"invocation": {
"module_args": {
"acpi": true,
"agent": null,
"api_host": "ceph-hv-01",
"api_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"api_user": "root@pam",
"args": "-kernel /tmp/ubuntu-linux-initrd /tmp/ubuntu-initrd.gz -append \"preseed/url=
https://gitlab.com/morph027/pve-infra-poc/raw/master/contrib/preseed/server.seed debian-installer/allow_unauthenticated_ssl=true locale=de_DE.UTF-8 debian/priority=critical vga=normal debian-installer/keymap=de console-keymaps-at/keymap=de console-setup/layoutcode=de_DE netcfg/choose_interface=auto localechooser/translation/warn-light=true localechooser/translation/warn-severe=true console-setup/ask_detect=false netcfg/get_hostname=ubuntu-cloud-init-1 netcfg/get_domain=localdomain FRONTEND_BACKGROUND=original\"",
"autostart": false,
"balloon": 1024,
"bios": null,
"boot": "cnd",
"bootdisk": null,
"clone": null,
"cores": 2,
"cpu": "host",
"cpulimit": null,
"cpuunits": 1000,
"delete": null,
"description": null,
"digest": null,
"force": null,
"format": "qcow2",
"freeze": null,
"full": true,
"hostpci": null,
"hotplug": null,
"hugepages": null,
"ide": null,
"ipconfig": null,
"keyboard": null,
"kvm": true,
"localtime": null,
"lock": null,
"machine": null,
"memory": 2048,
"migrate_downtime": null,
"migrate_speed": null,
"name": "ubuntu-cloud-init-1",
"net": {
"net0": "virtio,bridge=vmbr322"
},
"newid": null,
"node": "ceph-hv-01",
"numa": null,
"numa_enabled": null,
"onboot": true,
"ostype": "l26",
"parallel": null,
"pool": null,
"protection": null,
"reboot": null,
"revert": null,
"sata": null,
"scsi": null,
"scsihw": "virtio-scsi-pci",
"serial": null,
"shares": null,
"skiplock": null,
"smbios": null,
"snapname": null,
"sockets": 1,
"sshkeys": null,
"startdate": null,
"startup": null,
"state": "present",
"storage": null,
"tablet": false,
"target": null,
"tdf": null,
"template": false,
"timeout": 30,
"update": false,
"validate_certs": false,
"vcpus": null,
"vga": "qxl",
"virtio": {
"scsi0": "rbd_nvme_general:16,cache=writeback,discard=on"
},
"vmid": null,
"watchdog": null
}
},
"item": {
"key": "ubuntu-cloud-init-1",
"value": {
"cloudinit": true,
"ipconfig": "{\"ipconfig0\":\"ip=172.30.32.100/24,gw=172.30.32.1\"}",
"node": "ceph-hv-01",
"template": "ubuntu-ansible",
"type": "ubuntu"
}
},
"mac": {
"net0": "BE:37:3F:1D:54:79"
},
"msg": "VM ubuntu-cloud-init-1 with vmid 102 deployed",
"vmid": 102
}
META: ran handlers
META: ran handlers
PLAY RECAP **********************************************************************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
[/CODE]