Forum Discussion

Ankur_Mathur's avatar
Ankur_Mathur
Icon for Nimbostratus rankNimbostratus
Mar 15, 2019

bigip_ucs_fetch module failing to download ucs file

When trying to create and download a ucs file, the bigip_ucs_fetch module is failing if the ucs file is not already created on the guest. The error is "read operation timed out", even after adding a timeout for 7200 seconds the failure is seen. If the ucs file is created first on the box, the module works fine.Please help.

Playbook
---
- hosts: vms_to_upgrade
connection: local
gather_facts: False

roles:
- role: f5devcentral.f5ansible

tasks:
- name: Configure User
  set_fact:
     provider:
        user: "{{ansible_user}}"
        password: "{{ansible_ssh_pass}}"
        validate_certs: no
        timeout: 7200
    no_log: true

- name: Download a new UCS
  bigip_ucs_fetch:
     provider: "{{provider}}"
     server: "{{ansible_host}}"
     src: "{{vm_to_upgrade}}.ucs"
     dest: "/tmp/{{vm_to_upgrade}}-init.ucs"
     create_on_missing: yes
   delegate_to: localhost
No RepliesBe the first to reply