Prechádzať zdrojové kódy

Update create_inventory.yml

Signed-off-by: sakshiarora13 <sakshi_arora1@dell.com>
sakshiarora13 3 rokov pred
rodič
commit
7b41944bb0

+ 7 - 1
control_plane/roles/collect_device_info/files/create_inventory.yml

@@ -119,6 +119,12 @@
       when: "'$ANSIBLE_VAULT;' in config_content.stdout"
       run_once: true
 
+    - name: Install paramiko
+      command: pip3 install paramiko -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
+      delegate_to: localhost
+      run_once: true
+      changed_when: false
+
     - name: Initialize variables
       set_fact:
         idrac_inventory_status: false
@@ -366,4 +372,4 @@
         - name: Failed while adding device to powervault_me4_inventory
           debug:
             msg: "{{ powervault_me4_fail_msg }}"
-      when: powervault_me4_status
+      when: powervault_me4_status