Explorar o código

Update install_prometheus.yml

Signed-off-by: abhishek-sa1 <abhishek.sa3@dell.com>
abhishek-sa1 %!s(int64=3) %!d(string=hai) anos
pai
achega
85fe94e2d2
Modificáronse 1 ficheiros con 3 adicións e 9 borrados
  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"