Bläddra i källkod

Update install_prometheus.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 3 år sedan
förälder
incheckning
85fe94e2d2
1 ändrade filer med 3 tillägg och 9 borttagningar
  1. 3 9
      roles/slurm_exporter/tasks/install_prometheus.yml

+ 3 - 9
roles/slurm_exporter/tasks/install_prometheus.yml

@@ -39,26 +39,20 @@
           static_configs:
             - targets: ['localhost:{{ slurm_exporter_port }}']
 
-- name: Install & configure Nginx
+- name: Install & configure nginx
   block:
-    - name: Install Nginx
+    - name: Install nginx
       package:
         name: nginx
         state: present
       when: ansible_facts['distribution'] != opensuse_os_name
 
-    - name: Install Nginx
+    - name: Install nginx
       zypper:
         name: nginx
         state: present
       when: ansible_facts['distribution'] == opensuse_os_name
 
-    - name: Start and enable nginx service
-      service:
-        name: nginx
-        state: restarted
-        enabled: yes
-
     - name: Configure nginx.conf (1/2)
       replace:
         path: "../../k8s_start_services/templates/nginx.conf.j2"