1st crack at esxi update

This commit is contained in:
2023-01-18 19:56:45 +00:00
parent 7d55ceea4a
commit ee981e7977
4 changed files with 13 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
# esxi-ans
ansible-playbook vmware.yml

4
group_vars/vmware.yml Normal file
View File

@@ -0,0 +1,4 @@
ansible_user: root
ansible_port: 22
host_key_checking: false

View File

@@ -0,0 +1,4 @@
---
- name: Test command
#shell: esxcli software profile update -d /vmfs/volumes/<datastore>/ESXixxxx-ddddddddn.zip --profile=ESXixxxx-ddddddddn-standard
shell: esxcli software profile update -d htps://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-xxxx-ddddddddn-standard

4
vmware.yml Normal file
View File

@@ -0,0 +1,4 @@
---
- hosts: vmware
roles:
- vmware