Browse Source

Update pre-requisites.yml

Signed-off-by: sakshiarora13 <sakshi_arora1@dell.com>
sakshiarora13 3 years ago
parent
commit
6141bca7a4
1 changed files with 7 additions and 0 deletions
  1. 7 0
      control_plane/roles/webui_grafana/tasks/pre-requisites.yml

+ 7 - 0
control_plane/roles/webui_grafana/tasks/pre-requisites.yml

@@ -17,6 +17,13 @@
   command: ansible-galaxy collection install "{{ item }}"
   with_items: "{{ collections_name }}"
   changed_when: false
+
+- name: Install PyYAML using pip3
+  pip:
+    name: PyYAML
+    state: present
+    executable: pip3
+    extra_args: --ignore-installed
   
 - name: Install openshift using pip3
   pip: