ansible-role-sensu/tasks/backend-dependencies-redhat.yml

28 lines
459 B
YAML
Raw Permalink Normal View History

2019-02-16 18:00:14 +00:00
---
- name: uninstall bad dependencies
package:
2019-02-16 18:00:14 +00:00
name: '{{ packages }}'
state: absent
vars:
packages:
- python-urllib3
- python-requests
2019-02-17 07:49:47 +00:00
register: result
retries: 1
delay: 1
until: result is success
2019-02-16 18:00:14 +00:00
tags: sensu
- name: install backend dependencies
pip:
name: '{{ packages }}'
vars:
packages:
- urllib3
- requests
2019-02-17 07:49:47 +00:00
register: result
retries: 3
delay: 1
until: result is success
2019-02-16 18:00:14 +00:00
tags: sensu