--
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-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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-proje...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe@googlegroups.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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Documentation was somewhat short at the time, we're talking about it now, it's all good :)
On Fri, Apr 19, 2013 at 6:01 PM, Dag Wieers <d...@wieers.com> wrote:
On Fri, 19 Apr 2013, Michael DeHaan wrote:I doubt vsphere can do that.
Ok, that's good.
Out of curiosity, is kernel+initrd+commandline also possible?
That's why we use ISO media. It's the only common thing all hardware/hypervisors can do properly. (ESX, KVM, iLO, RSA, RHEV)
These may be suitable for core inclusion, the above is not a prereq, but it
would be nice if it could avoid a PXE environment (in case one already
existed and we wanted to ignore it).
No, vsphere only did PXE because I never got the administrative rights on vSphere to:
(I believe when I last asked they only did the ISO, or the playbooks that
referenced them required doing ISO builds.)
1. change the boot order
2. have an NFS datastore or push images to another datastore
You made conclusions based only on the examples I showed using ISO images. And despite me mentioning that we use ISO just because it makes the most sense in our environment. But PXE is supported for all *_boot modules (it just isn't possible in heterogenous environments or disabled by security in most large companies I have worked)
If you looked at the module documentation it's clear you can do PXE with all of them. (media=network)
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, in...@dagit.net, http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9e0fc804-8a2d-4923-bc32-feacb183c472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/33hmOR301YI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyyZt9RKyaHUOC5Ji%2BhCVsZswbkCe8TPSDo0PSoYg9K3Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2f18a176-4a1e-42de-85de-28056ce51b83%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgzA4TN_dX5eLciswrWQXUBk77%3DU1RSPn3UC5vPCOhAG_Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK5UeTu4Nd%3DNVAXTcZ44Liv6jsCKF83LpDRtp8NM_8OxK6FZnA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f6fe9e8-ed97-4fba-82cf-429272968d6d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK5UeTvnmL%2Bju7Nb%2B0VOQ%3DjOpDRHTDKHFL%3DcWRKf4jDBEf_4oA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgw2Vj2%3DYariR7UO4n%3D-Zjf03ObsRMG38PFatpMEFdzttw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK5UeTsngJU8ecK13SrZ0ExYmEvNrhG2O_ieBCSddebXG4bGtg%40mail.gmail.com.
-name:attach volume
local_action:
module:vsphere
guest:
name:test
state: running
action: task
spec:
type: ReconfigVM_Task
value:
spec:
VirtualMachineConfigSpec :
deviceChange:
- VirtualDeviceConfigSpec:
operation: add
device:
VirtualDisk:
diskObjectId: <id of existing virtual disk>
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1b796f24-bbfa-4675-a259-90a0562403bb%40googlegroups.com.
- name: clone vsphere machine local_action: module: vsphere host: "{{ vcenter_host }}" login: "{{ vcenter_login }}" password: "{{ vcenter_pwd }}" timeout: 60 guest: name: "{{ host }}" state: present folder: "{{ group }}" clone_from: "{{ template }}" spec: type: VirtualMachineCloneSpec value: config: VirtualMachineConfigSpec: name: "{{ schema.hostname }}" memoryMB: 4096 numCPUs: 1 deviceChange: - VirtualDeviceConfigSpec: operation: add device: VirtualVmxnet3 : key: 0 backing: VirtualEthernetCardNetworkBackingInfo: deviceName: "{{ networks[0].name }}" location: VirtualMachineRelocateSpec: pool: ManagedObjectReference: type: ResourcePool name: '{{ resource_pool }}' host: ManagedObjectReference: type: HostSystem name: '{{ compute_host }}' datastore: ManagedObjectReference: type: Datastore name: '{{ datastore }}' powerOn: True template: FalseTo view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f5e78679-1a30-45d0-b98b-ddce6e7e6778%40googlegroups.com.
| vm_hardware: | |
| memory_mb: 2048 | |
| num_cpus: 2 | |
| osid: centos64Guest | |
| scsi: paravirtual |
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxDB8BaOLQUuWBMq6Q5SrMODvP-3eqTjWq240K8%3D2M7SQ%40mail.gmail.com.
local_action: module: vsphere host: "{{ vcenter_host }}" login: "{{ vcenter_login }}" password: "{{ vcenter_password }}" timeout: 60 guest: name: "{{ deleteme }}" state: running action: task
spec:
type: ReconfigVM_Task
value:
spec:
VirtualMachineConfigSpec:
deviceChange:
- VirtualDeviceConfigSpec: operation: remove device: VirtualCdrom: key: <actual key of your cdrom>
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAK5UeTtdoVbHaOW0yxdfVS1YoKbMZuNt2OOK%2BFnStpVpHZhNgQ%40mail.gmail.com.
...
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/33hmOR301YI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5750b4d1-63fd-40a4-88db-8f8db482ba9d%40googlegroups.com.