This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-terraform.git


The following commit(s) were added to refs/heads/main by this push:
     new cba5dd0  Unified role execution across multiple hosts (#18)
cba5dd0 is described below

commit cba5dd0daf6a06713234a9fefb27556d64ec405d
Author: Rahul Bajaj <[email protected]>
AuthorDate: Sun Aug 6 03:32:57 2023 -0400

    Unified role execution across multiple hosts (#18)
    
    This refactoring is a strategic move towards ensuring our Ansible playbooks 
are DRY (Don't Repeat Yourself) and adhering to the best practices for 
efficient Ansible use. It contributes significantly to the overall 
manageability of our automation tasks and facilitates easier future updates.
---
 ansible/playbooks/install-skywalking.yml | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/ansible/playbooks/install-skywalking.yml 
b/ansible/playbooks/install-skywalking.yml
index 1720cb2..b7e3902 100644
--- a/ansible/playbooks/install-skywalking.yml
+++ b/ansible/playbooks/install-skywalking.yml
@@ -30,14 +30,8 @@
   roles:
     - install-java
 
-- name: Download and configure Apache SkyWalking APM OAP Service
-  hosts: skywalking_oap
-  gather_facts: false
-  roles:
-    - skywalking
-
-- name: Download and configure Apache SkyWalking APM UI Service
-  hosts: skywalking_ui
+- name: Download and configure Apache SkyWalking APM Service on all hosts
+  hosts: all
   gather_facts: false
   roles:
     - skywalking

Reply via email to