Преглед изворни кода

Update inventory_creation.yml

Signed-off-by: Shubhangi-dell <shubhangi_srivastava@dell.com>
Shubhangi-dell пре 3 година
родитељ
комит
da7803c707
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      control_plane/roles/control_plane_device/files/inventory_creation.yml

+ 3 - 3
control_plane/roles/control_plane_device/files/inventory_creation.yml

@@ -1,4 +1,4 @@
-#  Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
+#  Copyright 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
 #
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
 #  you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
   tasks:
   tasks:
     - name: Read dhcp file
     - name: Read dhcp file
       set_fact:
       set_fact:
-        var: "{{ lookup('file', '/var/lib/dhcpd/dhcpd.leases').split()| unique | select| list }}"
+        var: "{{ lookup('file', '/var/lib/dhcp/dhcpd.leases').split()| unique | select| list }}"
 
 
     - name: Filter the ip
     - name: Filter the ip
       set_fact:
       set_fact:
@@ -50,4 +50,4 @@
 
 
     - name: New line at end of file
     - name: New line at end of file
       shell: echo "">> omnia/control_plane/roles/collect_device_info/files/mgmt_provisioned_hosts.yml
       shell: echo "">> omnia/control_plane/roles/collect_device_info/files/mgmt_provisioned_hosts.yml
-      changed_when: false
+      changed_when: false