Hello
I am currently preparing a playbook for installing and configuring HAProxy
on a vmware VM, everything works so far, but i have a problem for managing
the VM via ssh, as i cant *turn up* the network interface *eth0*, there
must be an error in my yaml-code, or may the usage of *ip link set eth0 up*
is not supported for *vmware_vm_shell module*.
Please, can anyone give me some advice on solving this issue?
*Task:*
- name: activate eth0
*vmware_vm_shell*:
hostname: "{{ vsphere_host }}"
username: "{{ vsphere_username }}"
password: "{{ vsphere_password }}"
validate_certs: "no"
datacenter: "{{ datacenter_name }}"
folder: "{{ to_infra }}"
vm_id: "{{ nam }}"
vm_username: "{{ common_user }}"
vm_password: "{{ common_pw }}"
vm_shell: "*/sbin/ip*"
vm_shell_args: "*link set eth0 up*"
Note, the VM is running *Ubuntu*
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d0450da4-14db-463b-9b4c-b7fcbe17c458n%40googlegroups.com.