Run the Python reset script
In /opt/autodeploy/projects/dcaf-abe/ansible/site_docker.yml change image to "jcpowermac/hanlon:esxi-usb-2.5.0"
60 - name: Start Hanlon Server Container
61 docker:
62 docker_api_version: "{{ docker_api_version }}"
63 name: hanlon-server
64 image: "jcpowermac/hanlon:esxi-usb-2.5.0"
65 pull: missing
66 state: started
67 ports: 8026:8026
68 # links: hanlon-cassandra:cassandra
69 links: hanlon-mongo:mongo
70 privileged: true
71 volumes:
72 - "{{ hanlon_resource }}/image:/home/hanlon/image"
73 - "{{ hanlon_resource }}/cli/config:/home/hanlon/cli/config"
74 env:
75 DOCKER_HOST: "{{ ansible_default_ipv4.address }}"
76 HANLON_SUBNETS: "{{ hanlon_subnets }}"
jcpowermac/hanlon:esxi-usb-2.5.0
In playbook site_deploy.yml task Add an ESXi Model to Hanlon add firstdisk: usb
- name: Add an ESXi Model to Hanlon
20 hanlon_model:
21 base_url: "{{ hanlon_base_url }}"
22 template: vmware_esxi_5_dhcp
23 label: esxi_model
24 image_uuid: "{{ image.uuid }}"
25 esx_license: "{{ esx_license }}"
26 root_password: "{{ site_passwd }}"
27 hostname_prefix: esxi-node
28 firstdisk: usb
29 register: model