style: replace apt and yum module to package

This commit is contained in:
Adrien Waksberg 2019-02-17 08:51:46 +01:00
parent 0b5ccfa149
commit 7835763dff
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
---
- name: install backend dependencies
apt:
package:
name: python-requests
register: result
retries: 3

View file

@ -1,6 +1,6 @@
---
- name: uninstall bad dependencies
yum:
package:
name: '{{ packages }}'
state: absent
vars:

View file

@ -1,6 +1,6 @@
---
- name: install dependencies packages
apt:
package:
name: '{{ packages }}'
vars:
packages: