Hi Team
I need to verify if all disk size equal
I have n number of disk. I have written a loop that gives size of disk. Now
how do I verify all disks are equal size?
- name: Check the size of the disk
shell: |
bootinfo -s "{{ item }}"
with_items: "{{
Hi Team
My register variable output
[image: verify_pp.png]
Need to verify in all rows (unknown how many rows)col *LPs *are double col
*PPs* and col *PVS* are always 2 and col* LV STATE *IS SYNCD
How to do it in ansible.
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Tue, 21 Jul
Thank you, everyone, grep followed by cut gave me desired output
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Mon, 6 Jul 2020 at 19:50, Stefan Hornburg (Racke)
wrote:
> On 7/6/20 3:32 PM, Srinivas Naram wrote:
> > Hello Jenisha,
> >
> > Assuming that you are getting this value
In my case cut doesn't work. I m searching for a particular user from a
password.
$ grep anil /etc/passwd
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Mon, 6 Jul 2020 at 19:50, Stefan Hornburg (Racke)
wrote:
> On 7/6/20 3:32 PM, Srinivas Naram wrote:
> > Hello Jenisha,
> >
> >
Hi Team
I get below error when I use split directly,
The error was: 'list object' has no attribute 'split'
How to unlist in ansible
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Mon, 6 Jul 2020 at 20:27, Vladimir Botka wrote:
> On Mon, 6 Jul 2020 04:44:18 -0700 (PDT)
> Jenisha T
It supports only for the database. My output in register
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Mon, 6 Jul 2020 at 17:19, Dick Visser wrote:
> Based on your data, look at this module:
> https://docs.ansible.com/ansible/latest/modules/getent_module.html
>
> On Mon, 6 Jul 2020 at
Thankyou it was insightful to learn about other tools Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Thu, 2 Jul 2020 at 20:35, Dick Visser wrote:
>
> https://docs.ansible.com/ansible/latest/community/other_tools_and_programs.html
>
>
> On Thu, 2 Jul 2020 at 16:35, T.
Thankyou I fixed it. Is there any syntax highlighter recommended for Ansible
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Thu, 2 Jul 2020 at 19:27, Srinivas Naram
wrote:
> when is indented too much. Put it at the level where module name is
> mentioned.
>
> ---
> - name: using
It's solved. I was asking about regex. But I couldn't see your solution.
Thankyou!
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Thu, 2 Jul 2020 at 15:10, Srinivas Naram
wrote:
> Not sure how you are initiating your playbooks. Here is what I did.
>
> I initiated my playbooks from
Thankyou Vladimir. Its working now
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Thu, 2 Jul 2020 at 14:54, Vladimir Botka wrote:
> On Thu, 2 Jul 2020 13:59:13 +0530
> "T. JENISHA" wrote:
>
> > - name: Ex grep
> > gather_facts: yes
> > hos
Hi Vladimir
I get the below error. my_data is input data stored in the register. whats
my_key?
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an
undefined variable. The error was: 'my_key' is undefined\n\nThe error
appears to be in
It worked . Thankyou
Best Regards
Jenisha T
On Wed, 20 May 2020 at 13:56, Vladimir Botka wrote:
> On Wed, 20 May 2020 00:29:19 -0700 (PDT)
> Jenisha T wrote:
>
> > I need to kill a process if its older than 1 hour. I have process id
> how
> > to check if its older than 1 hour
>
> There
Hi Matt Martz
Excellent solution. For my windows role I have to change to
agent["stdout_lines"]|select('search','COMPLETED')|list != []
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Tue, 5 May 2020 at 02:53, Matt Martz wrote:
> agent.stdout_lines|select('search', 'COMPLETED')|list
Thankyou Matt your solution worked perfectly.
Best Regards
Jenisha T
Whatsapp: +91 07598087866
On Thu, 30 Apr 2020 at 20:00, Matt Martz wrote:
> This indicates that in your inventory you have indicated
> `ansible_become=true`, however you have not specified
> `ansible_become_method=runas`
14 matches
Mail list logo