style: replace apt and yum module to package
This commit is contained in:
parent
0b5ccfa149
commit
7835763dff
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: install backend dependencies
|
||||
apt:
|
||||
package:
|
||||
name: python-requests
|
||||
register: result
|
||||
retries: 3
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: uninstall bad dependencies
|
||||
yum:
|
||||
package:
|
||||
name: '{{ packages }}'
|
||||
state: absent
|
||||
vars:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: install dependencies packages
|
||||
apt:
|
||||
package:
|
||||
name: '{{ packages }}'
|
||||
vars:
|
||||
packages:
|
||||
|
|
Loading…
Reference in a new issue