mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 13:32:30 +08:00
Import fedora-messaging-utils role
Importing the role rather than listing it in the playbook lets its tasks have the tags used in the importing role, i.e. should ensure they are run when the things that need simple_message_to_bus are installed. Additionally, don't attempt to install it manually from web-data-analysis (it isn't found because it lives in a different role). Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
- sudo
|
||||
- awstats
|
||||
- web-data-analysis
|
||||
- fedora-messaging-utils
|
||||
- role: keytab/service
|
||||
owner_user: apache
|
||||
owner_group: apache
|
||||
|
||||
@@ -10,6 +10,11 @@
|
||||
tags:
|
||||
- awstats
|
||||
|
||||
- name: ensure messaging script is installed
|
||||
import_role: name=fedora-messaging-utils
|
||||
tags:
|
||||
- awstats
|
||||
|
||||
- name: awstats proxy merge script (log01)
|
||||
copy: src=combineHttpLogs.sh dest=/usr/local/bin/ mode=0755
|
||||
tags:
|
||||
|
||||
@@ -140,8 +140,8 @@
|
||||
tags:
|
||||
- web-data
|
||||
|
||||
- name: install messaging script for our improvized tracing
|
||||
copy: src=simple_message_to_bus dest=/usr/local/bin/ mode=0755
|
||||
- name: ensure messaging script is installed
|
||||
import_role: name=fedora-messaging-utils
|
||||
tags:
|
||||
- web-data
|
||||
- cron
|
||||
|
||||
Reference in New Issue
Block a user