Re: [ansible-project] Print Data Based On Size In Given Server [need no_of_vols]

2023-12-18 Thread javed khan Siddque
me: '' # how many 10 GB for '' capacity: - no_of_vols: 3 size: 14 cap_unit: GB - no_of_vols: 1 size: 15 cap_unit: GB On Monday, December 18, 2023 at 6:56:29 PM UTC+5:30 Will McDonald wrote: > It's not 100% clear to me fr

[ansible-project] Print Data Based On Size In Given Server [need no_of_vols]

2023-12-18 Thread javed khan Siddque
i want to print Data Based On Size In Given Server and generate the 'no_of_vols'. storage_device: - servername: server1 capacity: - no_of_vols: 1 size: 10 cap_unit: GB - no_of_vols: 2 size: 11 cap_unit: GB - server: server2 capacity: -

Re: [ansible-project] Not Able To Flatten nested List

2023-10-10 Thread javed khan Siddque
Hi @Vladimir, Thanks ! It worked. On Tuesday, October 10, 2023 at 6:12:09 PM UTC+5:30 Vladimir Botka wrote: > > my_dict: > > { > > 100098f2b3a1f324 : myserver3_host4 > > 100098f2b3a12635 : myserver3_host5 > > 100098f2b3a14633 : myserver11_host3 > > 100098f2b3a1d541 : myserver11_host1 > > } > >

[ansible-project] Re: Is there a way to get job running Start/Finish time from tower .

2023-07-26 Thread javed khan Siddque
ansible.builtin.set_stats: data: job_started_date_kp_to_kyndryl: "{{ fetched_date.split('.')[0].split('T')[0].split('-') | join('_') + '_' + fetched_date.split('.')[0].split('T')[1].split(':') | joi

[ansible-project] Date Time Conversion

2023-07-26 Thread javed khan Siddque
Hi All, I want to convert the below time to human readable format, i tried some of the jinza formatter but it is failing . Failed {{ iso_date|iso8601_to_time|datetimeformat('%a, %B %d') }} requirement 2023-07-20 16:36:44 So i can convert this to _2023_07_20_16_36_44 .txt "created": "2023-07-

[ansible-project] Re: Is there a way to get job running Start/Finish time from tower .

2023-07-24 Thread javed khan Siddque
[image: MicrosoftTeams-image (5).png] On Monday, July 24, 2023 at 7:51:07 PM UTC+5:30 javed khan Siddque wrote: > Hi All > > Is there a way to get job running Start/Finish time from tower . > > > -- You received this message because you are subscribed to the Google Groups

[ansible-project] Re: Is there a way to get job running Start/Finish time from tower .

2023-07-24 Thread javed khan Siddque
On Monday, July 24, 2023 at 7:51:07 PM UTC+5:30 javed khan Siddque wrote: > Hi All > > Is there a way to get job running Start/Finish time from tower . > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Is there a way to get job running Start/Finish time from tower .

2023-07-24 Thread javed khan Siddque
Hi All Is there a way to get job running Start/Finish time from tower . -- 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 ansible-project+unsubscr...@google

[ansible-project] when: item is defined not working

2023-06-23 Thread javed khan Siddque
The below task is not working as expected. i am expecting it will print message for at least 2 times which is defined and skip rest 2. TASK [Connect to Isilon Device] skipping: [localhost] --

[ansible-project] Loop Not Able to Parse After First iteration

2023-06-12 Thread javed khan Siddque
i required to create a list of paths but it is failing after first iteration = vars: isilon_cluster_name_p: "server" primary_data_center: "SSDC" region: "SC" division: "HOS" app_id: "1234" env: "D" my_app_id: "{{ '{:>05}'.format(ap

Re: [ansible-project] trying to convert a dummy String with list but skipping the first iteration

2023-05-19 Thread javed khan Siddque
"127.0.0.1", > > "test123.kp.org" > > ] > > } > > Note the use of "map('trim')" this applying trim to each item in the list. > > Walter > -- > Walter Rowe, Division Chief > Infrastructure Services, OI

[ansible-project] Re: trying to convert a dummy String with list but skipping the first iteration

2023-05-18 Thread javed khan Siddque
[ "172.11.12.13", "127.0.0.1", "test123.kp.org", "myserver.nndc.kp.org" ] } On Friday, May 19, 2023 at 12:14:08 AM UTC+5:30 javed khan Siddque wrote: > Hi Dick, > > screenshots missed from my side. > here we go. > > &g

[ansible-project] Re: trying to convert a dummy String with list but skipping the first iteration

2023-05-18 Thread javed khan Siddque
rg" 558 }, 559 "ansible_loop_var": "item", 560 "changed": false, 561 "item": " test123.kp.org" 562 } 563 TASK [isilon_allocation_for_KPHC_environment : Print client_nfs_export_server_list Once] *** 00:01:11 565 task path: /tmp/bwrap_1228189_9zrqk

[ansible-project] Re: Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

2023-05-18 Thread javed khan Siddque
I noticed that issue got auto resolved after few days. only changes is those messages still appears but as a WARNING not as a FATAL ERROR. On Thursday, April 13, 2023 at 10:36:42 PM UTC+5:30 javed khan Siddque wrote: > Hi Team, > > > i was trying to create ssh connection through t

[ansible-project] trying to convert a dummy String with list but skipping the first iteration

2023-05-18 Thread javed khan Siddque
Hi Team, i am trying to convert a dummy String with list but skipping the first iteration i am getting below output *"client_nfs_export_server_list": * *["127.0.0.1","test123.kp.org", "myserver.nndc.kp.org","{{ item | trim }}" ]* skipping

Re: [ansible-project] Powerscale.FileSystem Path goes to "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", not able to fetch

2023-05-01 Thread javed khan Siddque
Thanks , I have register a case https://github.com/dell/ansible-powerscale/issues/54 On Wednesday, April 26, 2023 at 10:51:26 AM UTC+5:30 Felix Fontein wrote: > Hi, > > > i was able to successfully create a FileSystem using module which is > > not exist only > > (eg: if nothing there it will c

[ansible-project] Powerscale.FileSystem Path goes to "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", not able to fetch

2023-04-21 Thread javed khan Siddque
Hi Team, i was able to successfully create a FileSystem using module which is not exist only (eg: if nothing there it will create 1 , ) (eg: if 1 and 2 there it will create 3 , ) (eg: if 1, 2, 3 there it will create 4 , ) #creating /ifs/cluster_name/MA/DEV/FOUMAD0031301 #creating

[ansible-project] Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

2023-04-13 Thread javed khan Siddque
Hi Team, i was trying to create ssh connection through tower for one server 162.xx.xx.xx but got below error when i try to do it manually ssh connection , it is successful without any error. fatal: [server.xx.org]: FAILED! => { "ansible_facts": {}, "changed": false, "failed_mod

[ansible-project] Error :- Create Filesystem in default (system) access zone, without Quota

2023-04-04 Thread javed khan Siddque
Hi Team, - name: Create Filesystem in default (system) access zone, without Quota dellemc.powerscale.filesystem: onefs_host: "{{ isilon_ip_address_p }}" port_no: "8080" verify_ssl: false api_user: "{{ isilon_api_user }}" api_password: "{{ isilon_api_password }}" path: "/

[ansible-project] Re: smart Quata with thresholds details Error While using AP

2023-04-03 Thread javed khan Siddque
> Mustaches don't nest. Instead of > body: "{{ lookup('ansible.builtin.file', '{{ role_path > }}/files/quota_details.json') }}" > use this: > body: "{{ lookup('ansible.builtin.file', role_path ~ > '/files/quota_details.json') }}" &

[ansible-project] smart Quata with thresholds details Error While using AP

2023-04-03 Thread javed khan Siddque
Hi Team , I am trying to create a smart Quata with thresholds details on isilon server , but got error "msg": "Get Quota Details for failed with { errors : [ { code : AEC_NOT_FOUND , message : Path not found '' } ] } " "path": "/ifs/myserver/MA", when i checked with manuall

Re: [ansible-project] Looking For next Integer Directory created , if current already exist.

2023-01-27 Thread javed khan Siddque
esn't exist? > > > Walter > -- > Walter Rowe, Division Chief > Infrastructure Services, OISM > Mobile: 202.355.4123 <(202)%20355-4123> > > On Jan 27, 2023, at 10:23 AM, javed khan Siddque > wrote: > > I tried 2-3 combination , but nothing worked , So i thought of

Re: [ansible-project] Looking For next Integer Directory created , if current already exist.

2023-01-27 Thread javed khan Siddque
gt; about ansible itself. > > Walter > -- > Walter Rowe, Division Chief > Infrastructure Services, OISM > Mobile: 202.355.4123 <(202)%20355-4123> > > On Jan 27, 2023, at 8:32 AM, javed khan Siddque > wrote: > > i am looking for some concent like below > > 1)

[ansible-project] Looking For next Integer Directory created , if current already exist.

2023-01-27 Thread javed khan Siddque
i am looking for some concent like below 1) Look For /var/test01 , if not there create it- test01 2) Look For /var/test01 , if already exist then move to next name :- test02 (move like next integer number) 3) Look for /var/test01 or 02 , then move to next name :- test03 (move like next integer n

Re: [ansible-project] how i will get rid of dictionary or only grab first match in loop output with satisfying when condition.

2023-01-27 Thread javed khan Siddque
Thanks . The issue was with my csv file , i created new file and pasted same data(with same format ) and it worked both json_query and item[''column_data'] working properly On Tuesday, January 24, 2023 at 6:06:41 PM UTC+5:30 walte...@nist.gov wrote: > I like to use json_query to search a JSON