Skip to content

Commit

Permalink
Merge pull request dell#979 from abhishek-sa1/control_plane_tag
Browse files Browse the repository at this point in the history
Issue dell#975: Added Operating System to the IP description of the node_inventory
  • Loading branch information
sujit-jadhav committed Mar 25, 2022
2 parents 1056ece + 5510a85 commit 735894b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions control_plane/roles/collect_node_info/files/add_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

- name: Fetch description
set_fact:
host_description: "Service Tag: {{ service_tag }}"
host_description: "Service Tag: {{ service_tag }}, Operating System: {{ ansible_distribution }}"
failed_when: false
when: hostname_check.stdout is defined

Expand Down Expand Up @@ -63,4 +63,4 @@
when:
- host_description != "Description Unavailable"
- add_host_awx is defined
- add_host_awx is not failed
- add_host_awx is not failed
4 changes: 3 additions & 1 deletion control_plane/roles/webui_awx/tasks/awx_configuration.yml
Original file line number Diff line number Diff line change
@@ -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");
# you may not use this file except in compliance with the License.
Expand All @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---

- name: Check if {{ tower_config_file }} file is encrypted
command: cat {{ tower_config_file }}
changed_when: false
Expand Down Expand Up @@ -143,6 +144,7 @@
project: "{{ project_name }}"
playbook: "{{ item.playbook }}"
ask_skip_tags_on_launch: true
extra_vars: "{{ item.extra_vars }}"
credentials:
- "{{ item.credential }}"
state: present
Expand Down
4 changes: 2 additions & 2 deletions control_plane/roles/webui_awx/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ job_template_details:
- { name: infiniband_template, inventory: infiniband_inventory, playbook: control_plane/infiniband.yml, credential: infiniband_credential, flag: "{{ ib_switch_support }}" }
- { name: powervault_me4_template, inventory: powervault_me4_inventory, playbook: control_plane/powervault_me4.yml, credential: powervault_me4_credential, flag: "{{ powervault_support }}" }
omnia_job_template_details:
- { name: deploy_omnia_template, inventory: node_inventory, playbook: omnia.yml, credential: node_credential }
- { name: deploy_omnia_template, inventory: node_inventory, playbook: omnia.yml, credential: node_credential, extra_vars: "ansible_python_interpreter=/usr/bin/python3" }
scheduled_templates:
- { name: NodeInventorySchedule, template: node_inventory_job, schedule_rule: "DTSTART:20210815T120000Z RRULE:FREQ=HOURLY;INTERVAL=1", flag: true }
- { name: DeviceInventorySchedule, template: device_inventory_job, schedule_rule: "DTSTART:20210815T060000Z RRULE:FREQ=DAILY;INTERVAL=1", flag: "{{ device_support_status }}"}
- { name: DeviceInventorySchedule, template: device_inventory_job, schedule_rule: "DTSTART:20210815T060000Z RRULE:FREQ=DAILY;INTERVAL=1", flag: "{{ device_support_status }}"}
4 changes: 4 additions & 0 deletions telemetry/roles/idrac_telemetry/tasks/initiate_telemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
include_vars: "{{ playbook_dir }}/input_params/telemetry_base_vars.yml"
no_log: true

- name: Include control_plane base_vars.yml file
include_vars: "{{ playbook_dir }}/../control_plane/input_params/base_vars.yml"
no_log: true

- name: Initiate telemetry process if idrac_support is enabled
block:
- name: Include telemetry common vars
Expand Down

0 comments on commit 735894b

Please sign in to comment.