wait for yum lock

This commit is contained in:
Scott Miller 2019-07-26 10:36:29 -04:00
parent 6e93443a3f
commit 74e701c788
No known key found for this signature in database
GPG Key ID: 25E1AEA1995DE6E8
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
---
- name: Wait for yum lock to be cleared
wait_for:
path: /var/run/yum.pid
state: absent
when: ansible_os_family == 'RedHat'
- name: Ensure Pip is installed.
package:
name: "{{ pip_package }}"