Merge branch 'master' of /git/ansible
This commit is contained in:
commit
3bb54e2e0d
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
||||||
- fedmsg-hub
|
- fedmsg-hub
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int < 22
|
||||||
|
|
||||||
|
- name: install needed packages
|
||||||
|
dnf: pkg={{ item }} state=present
|
||||||
|
with_items:
|
||||||
|
- fedmsg-hub
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
when: ansible_distribution_major_version|int > 21
|
||||||
|
|
||||||
- name: fedmsg-hub service
|
- name: fedmsg-hub service
|
||||||
service: name=fedmsg-hub state=started enabled=yes
|
service: name=fedmsg-hub state=started enabled=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue