Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Tower Job Template fails with Job terminated due to timeout

    Posted on

    Dear Community

    We have a Tower 3.5. running and several times a simple Job which verifies IP adresses with dig gets the status Failed.

    But the Tasks inside the playbooks are all ok. Do you have any idea for me? I have attached a screenshot.

    ---
    - hosts: localhost
      vars_files: 
        - "/nfs/ansible/tower/group_vars/static_vars.yml"
    
      vars:
          var_management_vm_ip: "{{ lookup('dig', '{{ vm_name }}m.mydomain.com')}}"
          var_storage_vm_ip: "{{ lookup('dig', '{{ vm_name }}s.storage.mydomain.com')}}"
          var_backup_vm_ip: "{{ lookup('dig', '{{ vm_name }}b.backup.mydomain.com')}}"
    
      tasks:
    
    
    # - Set static values for resolved IP adresses from DNS-----------------------
    # - management_vm_ip
    # - storage_vm_ip
    # - backup_vm_ip
    # ---------------------------------------------------------------------------- 
      - set_stats:
          data:
            management_vm_ip: "{{ var_management_vm_ip }}"
            storage_vm_ip: "{{ var_storage_vm_ip }}"
            backup_vm_ip: "{{ var_backup_vm_ip }}"
    

    Regards,

    Martin

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat