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 - name: install backend dependencies
apt: package:
name: python-requests name: python-requests
register: result register: result
retries: 3 retries: 3

View file

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

View file

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