Let's see if one role can restart a service from another.
This commit is contained in:
parent
ff0bcbdda7
commit
790cdf0373
3 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
# Configuration for the fedbadges consumer
|
||||
|
||||
#- tasks:
|
||||
# - include: $tasks/fedmsg_hub
|
||||
|
||||
- name: copy database configuration
|
||||
template: src=$item dest=/etc/fedmsg.d/$item
|
||||
with_items:
|
||||
|
|
12
roles/fedmsg-hub/tasks/main.yml
Normal file
12
roles/fedmsg-hub/tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
# Setup a fedmsg-hub
|
||||
|
||||
- name: install needed packages
|
||||
yum: pkg=$item state=installed
|
||||
with_items:
|
||||
- fedmsg-hub
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: fedmsg-hub service
|
||||
service: name=fedmsg-hub state=started enabled=yes
|
Loading…
Add table
Add a link
Reference in a new issue