Hi all,

I have 13 script files in a directory content is same for all the files
name will be change as below:
the script file is like this

bean -d UCMDB service=Packaging\ Services
run deployPackages 1 D:/Software/package UDI_Data_Model_0.0.104.zip 1 1

file name is highlighted this will be change in other files.
all files are listed   and executing as below;

OTHER_DEPLOY_SCRIPT:
['PackageDeploy_UDI_Data_Model_0.0.104.script','PackageDeploy_UDI_Discovery_Base_Enrichment_0.0.104.script','PackageDeploy_UDI_Discovery_Administration_100.script','PackageDeploy_UDI_TenantAssociationRules_100.script','PackageDeploy_NormalizationRules_100.script','PackageDeploy_XCDE_Outbound_Adapter_0.0.101.script','PackageDeploy_EMC_ECS-package_0.0.100.script','PackageDeploy_MMiS_Offering_0.0.105.script','PackageDeploy_Database_0.0.100.zip','PackageDeploy_WebService_0.0.101.script','PackageDeploy_hotfix-DDMInfra.script','PackageDeploy_hotfix-QCIM1H126382-v3.script','PackageDeploy_hotfix-IIS.script']

- name: Executes jmxterm to Install other package
  win_shell: '{{ucmdb_SERVER_JRE_PATH}}java -jar
{{config_PATH}}/jmxterm/{{jmxterm_UBER_JAR}} -l localhost:29601 -i
{{config_PATH}}/jmxterm/{{ item }}'
  with_items:
     - "{{ OTHER_DEPLOY_SCRIPT }}"


My concern is wanted to make single scrip file and the pass the file name
when it will be executing. Simply to reduce the script files.

Please suggest any methods and  provide examples as well.

Please find the attached script fiiles for your reference.

Best regards,
Venkat

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFMhZ_KA3tG1xuATq59FQb-oK3g0VJoe-hvCPrMnayQA2nACLA%40mail.gmail.com.

Attachment: PackageDeploy_EMC_ECS-package_0.0.100.script
Description: Binary data

Attachment: PackageDeploy_MMiS_Offering_0.0.106.script
Description: Binary data

Attachment: PackageDeploy_MMiS_Offering_0.0.105.script
Description: Binary data

Attachment: PackageDeploy_hotfix-IIS.script
Description: Binary data

Attachment: PackageDeploy_hotfix-DDMInfra.script
Description: Binary data

Attachment: PackageDeploy_UDI_Data_Model_0.0.104.script
Description: Binary data

Attachment: PackageDeploy_UDI_Data_Model_100.script
Description: Binary data

Attachment: PackageDeploy_UDI_Discovery_Base_Enrichment_0.0.104.script
Description: Binary data

Attachment: PackageDeploy_Database_0.0.100.script
Description: Binary data

Attachment: PackageDeploy_XCDE_Outbound_Adapter_0.0.101.script
Description: Binary data

Attachment: PackageDeploy_Discovery_Base_0.0.100.script
Description: Binary data

Reply via email to