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
|
- name: install backend dependencies
|
||||||
apt:
|
package:
|
||||||
name: python-requests
|
name: python-requests
|
||||||
register: result
|
register: result
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: uninstall bad dependencies
|
- name: uninstall bad dependencies
|
||||||
yum:
|
package:
|
||||||
name: '{{ packages }}'
|
name: '{{ packages }}'
|
||||||
state: absent
|
state: absent
|
||||||
vars:
|
vars:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: install dependencies packages
|
- name: install dependencies packages
|
||||||
apt:
|
package:
|
||||||
name: '{{ packages }}'
|
name: '{{ packages }}'
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
|
|
Loading…
Reference in a new issue