[ansible-project] Not getting desired o/p Help required

2019-06-21 Thread Rakesh Parida
I have a config file : [ansible-master .ssh]# cat ~/.ssh/config Host * StrictHostKeyChecking no ## RAKA Host node1 Hostname 10.160.0.7 IdentityFile ~/.ssh/RAKA Host node2 Hostname 10.128.0.11 IdentityFile ~/.ssh/RAKA Host node3 Hostname 10.160.0.8 IdentityFile

[ansible-project] want to copy ssh keys to desired hosts,without disabling strict hostchecking. in ansible config file

2019-06-21 Thread Rakesh Parida
ig as some sort of inventory. > > The subject of the message says “Not getting desired o/p” - so what IS the > desired output (assuming that’s what o/p means)? > > Or perhaps a better question: what are you trying to achieve? > > Dick > > > > On Fri, 21 Jun 201

Re: [ansible-project] How to insert value of variable in conditional statement in Playbook

2019-07-04 Thread Rakesh Parida
Hi ,,can anyone help me debug my problem. On Wed, 3 Jul, 2019, 6:37 PM Rakesh Parida, wrote: > No Matter if "system_ip_mac_details" value is present or not in the > "csv_ip_mac_details" am getting the same output every time. > Pls suggest > > On Wednesday,

Re: [ansible-project] How to insert value of variable in conditional statement in Playbook

2019-07-03 Thread Rakesh Parida
C combinations \" 10.174.206.157: 02:15:0a:ae:ce:9d 10.145.19.4: 02:15:0a:91:13:04 172.16.7.52: 02:15:ac:10:07:34 \" is not present in the CSV_IP_MAC_DETAILS fact So VALIDATION FAILED" } On Tuesday, July 2, 2019 at 8:41:14 PM UTC+5:30, Rakesh Parida wrote: > > Hi Mat, > &g

[ansible-project] Help required for extracting Interface mac address

2019-06-27 Thread Rakesh Parida
Hi , My VM has 4 ip-interfaces . I want to extract a data as below using ansible. Interface1: macaddress Interface2: macaddress Interface3: macaddress Interface4: macaddress Kindly help. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Playbook to parse yaml file and get the output

2019-07-11 Thread Rakesh Parida
Hi, I have yaml as follows: deliveries: - releases: - latest_Rel: - aaa: file_name: some.tar md5: xxx product_name: aaa product_number: aaa 902 8057 release_candidate: Rel version: 25.1.1 - bbb: file_name: some1.tar

Re: [ansible-project] Playbook to parse yaml file and get the output

2019-07-12 Thread Rakesh Parida
token 'name', got '('. String: {{ var | ('^{0}'.format(file_name)) }}"} expected o/p: file_name: some.tar file_name: some1.tar file_name: some2.gz On Thursday, July 11, 2019 at 7:35:45 PM UTC+5:30, Dick Visser wrote: > > On Thu, 11 Jul 2019 at 15:53, Rakesh Parida > wrote: > >

Re: [ansible-project] How to insert value of variable in conditional statement in Playbook

2019-07-03 Thread Rakesh Parida
No Matter if "system_ip_mac_details" value is present or not in the "csv_ip_mac_details" am getting the same output every time. Pls suggest On Wednesday, July 3, 2019 at 6:32:53 PM UTC+5:30, Rakesh Parida wrote: > > Hi Matt, > > I am facing one more issue her

[ansible-project] How to insert value of variable in conditional statement in Playbook

2019-07-02 Thread Rakesh Parida
How can i insert value of variables using with items in conditional checks name: system_ipaddress_mac_combinations present inside fact debug: msg : The system_ip-MAC combinations "{{ item }}" is present in teh fact when: '{{ item }} in {{ csv_ip_mac_details }}'

Re: [ansible-project] How to insert value of variable in conditional statement in Playbook

2019-07-02 Thread Rakesh Parida
in csv_ip_mac_details > ``` > > As simple as removing the {{ }} jinja2 delimiters. > > On Tue, Jul 2, 2019 at 9:58 AM Rakesh Parida > wrote: > >> How can i insert value of variables using with items in conditional checks >> >> name: system_ipaddress_mac_combinations presen

[ansible-project] CSV item validation through loop

2019-07-01 Thread Rakesh Parida
Hi, I have a csv file which has all the ip address and the mac address in column (as shown below): VM1 TBD x.x.x.x 02:07:C0:A8:06:04 x1.x1.x1.x1 02:07:0A:AE:CC:54 x2.x2.x2.x2 02:07:0A:91:10:BB x3.x3.x3.x3 02:07:AC:10:04:03 VM2 TBD y.y.y.y 02:07:C0:A8:06:05 y1.y1.y1.y1

[ansible-project] Getting different error when trying reference with ref number of list and exact string name

2019-07-15 Thread Rakesh Parida
iam getting the proper value if i use the Reference number of list in my input file (3 is entry for EIL_adaptor). Now if i try "ABC" instead of 3 it gives error tasks: - name: Set file as variable include_vars: file: "{{ input_file }}" name: x - name: Debug

Re: [ansible-project] set_fact in with_dict append loop only keeps last item

2019-07-16 Thread Rakesh Parida
ot;: "CXP_902_8347_25.1.2_20190612-100040.tar", "md5": "72cc71fdfb826937ed9b417a637b717b", "product_name": "notification", "product_number": "CXP 902 8347", "release_candidate": "RC2

[ansible-project] Re: CSV item validation through loop

2019-07-01 Thread Rakesh Parida
Want to iterate through the items and print teh corressponding mac address. On Tuesday, July 2, 2019 at 9:15:55 AM UTC+5:30, Rakesh Parida wrote: > > Error as below(Removed actual ips): I guess the loop is not iterated as > desired from CSV items. Pls help > > sudo ansible-playboo

[ansible-project] Re: CSV item validation through loop

2019-07-01 Thread Rakesh Parida
ailed=0 With Regards Rakesh On Monday, July 1, 2019 at 8:25:07 PM UTC+5:30, Tanisha Mishra wrote: > > Can you share the error ? > > On Monday, July 1, 2019 at 6:44:44 PM UTC+5:30, Rakesh Parida wrote: >> >> >> Hi, >> >> I have a csv file which has all th

Re: [ansible-project] Help required for extracting Interface mac address

2019-06-30 Thread Rakesh Parida
ort %} > {{ iface }}: {{ hostvars[inventory_hostname]['ansible_' ~ > iface]['macaddress'] }} > {% endfor %} > > > This will yield: > > eth1: 08:00:27:b3:59:d0 > eth2: 08:00:27:87:1b:de > eth3: 08:00:27:9b:80:85 > eth4: 08:00:27:90:ad:eb > > >

Re: [ansible-project] Ansible attach in mail module doesnt work

2019-09-05 Thread Rakesh Parida
out_lines": [ "/tmp/sanity_RIC1/sanity_RIC1IC01_20190905-040234.html /tmp/sanity_RIC1/sanity_RIC1IC02_20190905-040247.html" ] } On Thursday, September 5, 2019 at 6:03:22 PM UTC+5:30, Abhijeet Kasurde wrote: > > Additionally, you can use `fileglob` -

Re: [ansible-project] Ansible attach in mail module doesnt work

2019-09-06 Thread Rakesh Parida
ntation is here: > https://docs.ansible.com/ansible/latest/modules/find_module.html > > That will give you exactly what you want. > > Dick > > On Thu, 5 Sep 2019 at 15:21, Rakesh Parida > wrote: > > > > Hi Dick/Abhijit, > > > > The proble

[ansible-project] Ansible attach in mail module doesnt work

2019-09-05 Thread Rakesh Parida
I have a code as below and i have my html files present in /tmp/sanity/ . but i am getting error as "Failed to send mail: can't attach file" i get file not found - name: list html files run_once: true local_action: shell find /tmp/sanity/ -type f -regex ".*.html" | tr -s '\n' ' ' |

Re: [ansible-project] How to escape doublequote and curly braces

2019-08-07 Thread Rakesh Parida
^ here We could be wrong, but this one looks like it might be an issue with missing quotes. Always quote template expression brackets when they start a value. On Wednesday, August 7, 2019 at 11:09:23 AM UTC+5:30, Stefan Hornburg (Racke) wrote: > > On 8/7/19 7:06 AM,

[ansible-project] How to escape doublequote and curly braces

2019-08-06 Thread Rakesh Parida
i want to have an output as follows: '{"components":"my_variable"}' from my playbook. - name: Review the Joined List set_fact: jetty_c: "{{ '\'{\"\components":"\' + my_joined_list + '"}'' }}" Its giving me error. Can you guys pls help. -- You received this message

[ansible-project] Re: How to escape doublequote and curly braces

2019-08-07 Thread Rakesh Parida
jetty_c: "'{\"components\":\"{{ my_updated_list }}\"}'" with_items: "{{ JETTY_Record }}" - name: Debug the Jetty Components debug: msg: "{{ jetty_c }}" What am i missing On Wednesday, August 7, 2019 at 10

[ansible-project] Is there any Alternative of command/shell module

2019-07-19 Thread Rakesh Parida
I prepared a playbook as follows: --- - hosts: localhost vars: directory_name: /root/raka-tests/ tasks: - name: List the Contents of dir command: ls -lrt {{ directory_name }} register: files - debug: msg: "{{ files.stdout_lines}}" o/p: TASK [debug]

[ansible-project] set_fact in with_dict append loop only keeps last item

2019-07-16 Thread Rakesh Parida
Hi, set_fact in with_dict append loop only keeps last item . Is there any way to keep the whole list in the set_fact. - name: Print records set_fact: imp_records: "/home/ansible/{{ item.key }}/{{ item.value.version.split('_')[1] }}/{{ item.value.file_name }}"

[ansible-project] Image Snapshot Module for Openstack

2019-09-19 Thread Rakesh Parida
Hi , The ansible has a module to take volume snapshot for Openstack: - name: create snapshot hosts: all tasks: - name: create snapshot os_volume_snapshot: state: present cloud: test availability_zone: nova display_name: test_snapshot volume: test_volume

Re: [ansible-project] Image Snapshot Module for Openstack

2019-09-20 Thread Rakesh Parida
Hi , Can anyone guide me on this On Thu, 19 Sep, 2019, 9:34 PM Rakesh Parida, wrote: > Hi , > The ansible has a module to take volume snapshot for Openstack: > - name: create snapshot > hosts: all > tasks: > - name: create snapshot > os_volume_snapshot: &

[ansible-project] Getting error for ".stdout_lines" for a registered variable

2019-09-24 Thread Rakesh Parida
Hi, I have playbook to retrieve the Instance id of Openstack nodes.Now everything works fine but the resgitered value for instid.stdout_lines gets an undefined error. *The error was: 'dict object' has no attribute 'stdout_lines'* .. but when i debug the complete registered variable instid i

Re: [ansible-project] Getting error for ".stdout_lines" for a registered variable

2019-09-24 Thread Rakesh Parida
"2019-09-24 09:15:45.801051", "stderr": "", "stderr_lines": [], "stdout": "e8ebc5a4-17f3-4b80-a935-03164211a804 TOMICS2", * "stdout_lines":

Re: [ansible-project] Getting error for ".stdout_lines" for a registered variable

2019-09-24 Thread Rakesh Parida
-17f3-4b80-a935-03164211a804 TOMIAS2 On Tuesday, September 24, 2019 at 11:05:06 PM UTC+5:30, Kai Stian Olstad wrote: > > On 24.09.2019 19:06, Rakesh Parida wrote: > > - name: Retrieve instance id from tenant > > shell: openstack server list --all-projects --project "

[ansible-project] Need to Extract data from the Ansible debug out put

2019-11-13 Thread Rakesh Parida
Hi , I have an playbook for Vmware Powercli : tasks: - name: Run PowerShellGet VM script command: pwsh /tmp/vcsa_getVM.ps1 ignore_errors: yes changed_when: false register: powershell_output_getVM - name: Debug GetVM output debug: msg: - "{{

Re: [ansible-project] Need to Extract data from the Ansible debug out put

2019-11-14 Thread Rakesh Parida
Hi Abhijeet and Sam, Actually the Vcenter in my organisation has policy enforced not have SSL connectivity , so i cld nt use ansible vm-modules . That is why i had to switch to PWSH using ansible. Jordan's Suggestion worked . But i need to figure out how to remove special characters from o/p

Re: [ansible-project] Need to Extract data from the Ansible debug out put

2019-11-14 Thread Rakesh Parida
M UTC+5:30, Rakesh Parida wrote: > > Hi Jordan , > > Thanks for your suggestion . > > It worked for some extent , now iam getting the o/p as below. Actually i > am new to PowerCLI so dont have much idea on PowerCLi cmdlets, But is there > a way to remove the inverted c

[ansible-project] Cannot extract the proper ENV value for SUDO_USER while invoking ansible script using python

2019-12-10 Thread Rakesh Parida
Hi I have a Ansible playbook as below: test.env.yml --- - hosts: localhost tasks: - debug: msg="{{ lookup('env','SUDO_USER') }} is an environment variable" Now i have setup a python virtual env and want to invoke the playbook using python: my Python script is as follows:

Re: [ansible-project] How to convert o/p of ansible playbook to a proper readable format

2019-11-26 Thread Rakesh Parida
Hi Racke, Yes it gives me continuously this o/p on the powershell cli . Remove snapshot [ percent complete: 0 On Tue, Nov 26, 2019 at 1:03 PM Stefan Hornburg (Racke) wrote: > On 11/26/19 8:25 AM, Rakesh Parida wrote: > > Hi Racke, > > Thanks for your suggestion > > I

[ansible-project] How to convert o/p of ansible playbook to a proper readable format

2019-11-25 Thread Rakesh Parida
Hi , I have a role for deleting VM using PWSH script via ansible : --- - name: Run PowerShellGet VM script delegate_to: localhost shell: pwsh /home/raka/delete-snapshot{{item}}.ps1 ignore_errors: yes changed_when: false register: powershell_VM_snapshot_delete with_items: "{{

Re: [ansible-project] How to convert o/p of ansible playbook to a proper readable format

2019-11-25 Thread Rakesh Parida
complete: 0 [ ] ' On Tue, Nov 26, 2019 at 12:24 PM Stefan Hornburg (Racke) wrote: > On 11/26/19 7:50 AM, Rakesh Parida wrote: > > Hi , > > &g

[ansible-project] Appending a string at the end of line

2019-11-19 Thread Rakesh Parida
Hi , I have a file : cat test.txt Baseline: ABC ABC1 ABC23 ABC24 +ABC33 ABC_PAD +ABC_PAD_CAD Now i want to add +TEST_ABC at the end of Line : Desired O/P : Baseline: ABC ABC1 ABC23 ABC24 +ABC33 ABC_PAD +ABC_PAD_CAD +TEST_ABC I am using lineinfile module but the string is getting added

Re: [ansible-project] Need to Extract data from the Ansible debug out put

2019-11-14 Thread Rakesh Parida
Hi Jordan , Thanks for your suggestion . It worked for some extent , now iam getting the o/p as below. Actually i am new to PowerCLI so dont have much idea on PowerCLi cmdlets, But is there a way to remove the inverted commas and Comma using the PowerCLi Commad. "BVI12DS2",

Re: [ansible-project] Getting error for ".stdout_lines" for a registered variable

2019-09-24 Thread Rakesh Parida
uesday, September 24, 2019 at 11:33:16 PM UTC+5:30, Karl Auer wrote: > > Post the *complete* output of > > - debug: >var: instid > > Posting snippets is useless. > > > On Wed, Sep 25, 2019 at 3:39 AM Rakesh Parida > wrote: > >> There are 11 items , i

[ansible-project] When condition not working in a list

2019-10-03 Thread Rakesh Parida
Hi, I have yaml file as below. I parse the component and version and put the parsed value to a file by creating a list deliveries: - releases: - latest: - tmoAa: file_name: CXP_902_7801_28.1.0_20191001-024646.tar md5: f08a50fcb3ec79c87ec870195568826e product_name:

[ansible-project] Ansible "failed_when" not working as desired

2020-03-06 Thread Rakesh Parida
Hi, I have a task as follows: - hosts: nodes gather_facts: true tasks: - name: CurlCP Status shell: "curl -Is -m 1 http://localhost:9113/cp/healthcheck; register: cp_status failed_when: "'200 OK' not in cp_status.stdout_lines" It fails even if 200 Ok is in o/p. I want

[ansible-project] Need Help in Ansible regex

2020-01-23 Thread Rakesh Parida
Hi all, I have a rpm whcich i have added in a list. I want to make it dynamic i.e when the version of rpm changes playbook should handle it. I have build a logic but the playbook skips the task where i have mentioned the regex. Kindly help me . - hosts: localhost tasks: - name: Create a

[ansible-project] Re: The List manipulation doesnt work

2020-01-22 Thread Rakesh Parida
Kindly Help me on this as i am stuck On Thursday, January 23, 2020 at 2:49:28 AM UTC+5:30, Rakesh Parida wrote: > > Hi Ansible Gurus, > > I have created a list and from that list i want to prepare some customise > list as per my need. > But when i execute my playbook i get a

[ansible-project] format List comparison ansible

2020-01-30 Thread Rakesh Parida
Hi , I want to compare two lists . But while doing this the list1 item loops over each item of list2. I just want item of list 1 just to compare between matching item in list2 and not with others. my playbook: - hosts: localhost tasks: - name: Create a list1 set_fact:

Re: [ansible-project] How to ignore the none value from "Default(None) filter" that allows None value added to list of Item

2020-02-05 Thread Rakesh Parida
when: item I am getting following error: fatal: [BLVYUM01]: FAILED! => {"msg": "The conditional check 'item' failed. The error was: Invalid conditional detected: invalid syntax On Wednesday, February 5, 2020 at 10:48:12 PM UTC+5:30, Vladimir Botka wrote: > >

Re: [ansible-project] format List comparison ansible

2020-02-06 Thread Rakesh Parida
ursday, January 30, 2020 at 11:59:37 PM UTC+5:30, Vladimir Botka wrote: > > On Thu, 30 Jan 2020 10:08:02 -0800 (PST) > Rakesh Parida > wrote: > > > Is there any way the list comparision would be successful even if the > > sequence is altered. > > > > li

Re: [ansible-project] format List comparison ansible

2020-02-06 Thread Rakesh Parida
at 4:26:16 PM UTC+5:30, Vladimir Botka wrote: > > On Thu, 6 Feb 2020 00:42:28 -0800 (PST) > Rakesh Parida > wrote: > > > If the numbers of items in list is not equal is there way to compare: > > suppose my lists are: > > list1 > > "dp

Re: [ansible-project] format List comparison ansible

2020-02-06 Thread Rakesh Parida
Hi Vladimir, I have tried a lot but unable to find solution for my issue. Pls help on this On Thu, 6 Feb 2020, 16:38 Rakesh Parida, wrote: > Hi Vladimir, > > I would like my o/p as below: > dp-steps-common-3.0.12 not equal to > dp-steps-common-3.0.15-1911280809_d103a.noarch

[ansible-project] Format two List Comparison

2020-02-06 Thread Rakesh Parida
Hi , Someone barged into my ongoing Discussion . So i had to start a new Discussion. If my items of lists are not fixed on both the list , how do i compare them: Now i have one more issue on the LIST comparison: If the numbers of items in list is not equal is there way to compare: suppose

Re: [ansible-project] format List comparison ansible

2020-01-30 Thread Rakesh Parida
:37 PM UTC+5:30, Vladimir Botka wrote: > > On Thu, 30 Jan 2020 06:11:34 -0800 (PST) > Rakesh Parida > wrote: > > > Actually this is not what i want , i just want my item1 to not to > iterate > > over the loop and compare every item, it should only compare the &

Re: [ansible-project] format List comparison ansible

2020-01-30 Thread Rakesh Parida
Hi Vladimir, Thanks for the reply. Awsome. Its exactly what i want to achieve. Thanks for your time . Highly appreciate your help:) With Regards Rakesh On Thursday, January 30, 2020 at 11:59:37 PM UTC+5:30, Vladimir Botka wrote: > > On Thu, 30 Jan 2020 10:08:02 -0800 (PST) > Rake

Re: [ansible-project] format List comparison ansible

2020-02-06 Thread Rakesh Parida
Hi Vladimir, This Solutioñ works. Thanks for your extended help on this. I just tweaked something to match my requirements, overall your solution works well for me. Regards Rakesh On Thu, 6 Feb 2020, 21:27 Vladimir Botka, wrote: > On Thu, 6 Feb 2020 20:37:37 +0530 > Rakesh Parida

Re: [ansible-project] Hostvars giving me undefined error

2020-01-24 Thread Rakesh Parida
.. > > Something like this will work : > > msg: "{{ hostvars['YUM01']['some_value'] }}" > > > But instead of asking to remove your error, perhaps you could explain what > you want to do... > > Regards, > > JYL > > > Le 24/01/2020 à 17:49, Rakes

[ansible-project] Re: Hostvars giving me undefined error

2020-01-24 Thread Rakesh Parida
undefined error Pls suggest On Friday, January 24, 2020 aThe yum is in t 10:19:04 PM UTC+5:30, Rakesh Parida wrote: > > Hi > > Iam trying to access the variable from other hosts using hostvars. I am > getting the undefined error. > Can anybody help me: stuck at thi

Re: [ansible-project] Hostvars giving me undefined error

2020-01-24 Thread Rakesh Parida
host and not group... > > Something like this will work : > > msg: "{{ hostvars['YUM01']['some_value'] }}" > > > But instead of asking to remove your error, perhaps you could explain what > you want to do... > > Regards, > > JYL > > > Le 24/01/2020 à 17

Re: [ansible-project] Hostvars giving me undefined error

2020-01-24 Thread Rakesh Parida
Yum is a hostname ina group variable And der are multiple yum server entries On Fri, 24 Jan, 2020, 11:35 PM Dick Visser, wrote: > Is 'yum' a group name perhaps? > > On Fri, 24 Jan 2020 at 17:49, Rakesh Parida > wrote: > >> Hi >> >> Iam trying to access th

[ansible-project] Hostvars giving me undefined error

2020-01-24 Thread Rakesh Parida
Hi Iam trying to access the variable from other hosts using hostvars. I am getting the undefined error. Can anybody help me: stuck at this point - hosts: yum gather_facts: false vars: file_locn: "/san/repos/{{ version }}/packages" tasks: - name: Find the Packages that are

[ansible-project] How to ignore the none value from "Default(None) filter" that allows None value added to list of Item

2020-02-05 Thread Rakesh Parida
Hi, After i create a list and when item is not present then an item with NONE is added to the list. - name: Create an empty list variable set_fact: ece_nodes: [] - name: Append string to ECE node list set_fact: ece_nodes: "{{ ece_nodes + [ item ] }}"

Re: [ansible-project] How to ignore the none value from "Default(None) filter" that allows None value added to list of Item

2020-02-05 Thread Rakesh Parida
be not appended. On Wednesday, February 5, 2020 at 5:52:16 PM UTC+5:30, Vladimir Botka wrote: > > On Wed, 5 Feb 2020 03:52:22 -0800 (PST) > Rakesh Parida > wrote: > > > [...] > > with_items: > >- "{{ dp_record | default(None

Re: [ansible-project] How to ignore the none value from "Default(None) filter" that allows None value added to list of Item

2020-02-05 Thread Rakesh Parida
"dp-steps-common-3.0.12", "iam-python-common-1.0.1", "iam-service-default-3.1.37", "None" ], On Wednesday, February 5, 2020 at 10:04:38 PM UTC+5:30, Rakesh Parida wrote: > > Hi Vladimir, > > I made chang

Re: [ansible-project] format List comparison ansible

2020-01-30 Thread Rakesh Parida
al to dp-steps-common-3.0.15-1911280809_d103a.noarch" Regards Rakesh On Thursday, January 30, 2020 at 7:21:06 PM UTC+5:30, Vladimir Botka wrote: > > On Thu, 30 Jan 2020 04:49:02 -0800 (PST) > Rakesh Parida > wrote: > > > Hi , > > > > I want to compare

[ansible-project] The List manipulation doesnt work

2020-01-22 Thread Rakesh Parida
Hi Ansible Gurus, I have created a list and from that list i want to prepare some customise list as per my need. But when i execute my playbook i get at last step when i want to see my customised list i get an error . Can someone guide me where i am doing wrong. TASK [Display Lists]

[ansible-project] Ansible sequence for creating soft link

2020-03-18 Thread Rakesh Parida
Hi , I have 3 directories in /tmp as follows: Test_10.0.0 Test_11.0.0 Test_13.0.0 other directories in /tmp Test Prod Dev Now i want to create soft link of Test_10.0.0 - Test Test_11.0.0 - Prod Test_13.0.0 - Dev I want to create a playbook which does it. Can anybody help in this regard

[ansible-project] While using j2 template and with_items i get the last item in o/p

2020-06-08 Thread Rakesh Parida
Hi my playbook is : - name: include vars include_vars: file: /home/rparida1/content-var.yml - name: Testing template: src: /home/rparida1/config.j2 dest: /home/rparida1/test-raka222.properties with_items: - "{{ Tenants }}" When i use the