Hi,

I have the below snippet , which installs the local package . However in 
servers which have not subscribed to  satellite/Redhat , the  playbook 
hungs as it continue to search for the  repositories in the backgroud.

- name: Installing the  local rpm rpm packages in the server 
    yum:
      name: /tmp/XXXX-2.3.2.2105-1.x86_64.rpm
      state: present
      disable_gpg_check: yes
    ignore_errors: true
    register: result_t1
    tags: install_localpackage

In yum module , there is no exact option to skip looking  into  the yum  
repositories or cache , to override this step.  
Is there any  option available in yum to skip looking into yum or have to 
write a bash script with "rpm -i " to replace it ?


-- 
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/f6f03839-8c77-4777-9d69-600d230ad078n%40googlegroups.com.

Reply via email to