Am new to this.
Register: output1
- debug:
msg: "{{ output1.stdout_lines.Firmware Version }}"
If I give like this getting error
On Fri, May 28, 2021, 12:12 manoj kumar wrote:
>
> You can print select value using register.key format.
>
> On Fri, 28 May 2021 at 12:10 PM, NAVEEN wrote:
>
>>
You can print select value using register.key format.
On Fri, 28 May 2021 at 12:10 PM, NAVEEN wrote:
> Hello team,
>
> I am working on Dell IDRAC firmware automation.i need help here
>
> I can able to fetch the complete data from dell server.what ever output
> come I will put into REGISTER modul
If it is about the number of entries then you should compare that before
and after
On Thu, 27 May 2021 at 23:39, Vikram S wrote:
> Hi Dick,
>
> Sorry i didn't frame my question properly. What i want to check is the
> number of entries in the output matches with the entries after IOS upgrade
> &
Hi Dick,
Sorry i didn't frame my question properly. What i want to check is the
number of entries in the output matches with the entries after IOS upgrade
& reload.
I wrote the below script but i don't think it would help this script
compares the whole output and not just the no. of entgries. S
As this is a list for ansible, I assume you mean 'playbook' when you say
'script'.
Since your question has nothing else that is related to ansible?
Sounds like you just need to compare some output before and after the
upgrade so you can tell if they're equal.
On Thu, 27 May 2021 at 18:56, Vikram
I request assistance to write a script that needs to verify that EIGRP
neighbourship shown in router before IOS upgrade is the same after IOS
upgrade (and reload) as well. Below is a sample output of EIGRP neibourship
that i need to verify after IOS upgrade. How can i write a script for that?
R
The 'firewall' library referenced is part of firewalld itself.
--
--
Brian Coca
--
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+unsu
Another option is to use YAML anchors, but variables are probably better.
- name: Cisco stuff
cisco.nxos.nxos_static_routes:
config:
- afi: ipv4
routes:
- dest: 192.168.2.0/24
next_hops: &hops
- interface: eth1/8
fo
Hi Dick,
Thanks a lot for the reply. I added the entry to the ansible.cfg file and
found the issue persists. Message display is still the same as mentioned
below.
==
"msg": "VM's: [u'clus2.node.com', u'sol11test', u'win2019test', u'
clus1.node.com', u'RHEL8Tes
Thank you!! That's indeed the solution!
Now it looks like this:
- name: Set directories permissions - select
find:
paths: "/opt/tomcat
file_type: directory
register: find_chmod_result
- name: Set directories permissions - apply
file:
path: "{{ item.path }}"
owner: "{{ tomcat_user }}"
group: "{{ t
Thanks Dick and Felix. I've created a documentation issue.
On Thursday, 27 May 2021 at 14:47:22 UTC+1 Felix Fontein wrote:
> Hi,
>
> > I'm not sure but it looks like several of the parameters for that
> > ansible module map to the arguments of firewall-cmd:
> > https://firewalld.org/documentation
Try setting this in your ansible.cfg:
stdout_callback = yaml
bin_ansible_callbacks = True
On Thu, 27 May 2021 at 16:55, Jayan Anirudhan wrote:
>
> Hi Team,
>
> I have created a playbook to gather information from a Redhat KVM server. The
> issue I am facing is that I am getting the entire messa
Hi Team,
I have created a playbook to gather information from a Redhat KVM server.
The issue I am facing is that I am getting the entire message in a single
line. Can someone suggest a solution to print the message content as
individual lines instead of a single line.
play book
---
- h
Instead of running the find command via `command`, switch to using the
`find` module, register the result, then use the `file` module, looping the
previous results, to set permissions on the directories.
On Thu, May 27, 2021 at 9:02 AM Nicola L. wrote:
>
> Hi,
> this task breaks the idempotenc
Hi,
this task breaks the idempotence of my role:
- name: Set directories permissions for production installation
command: find /opt/tomcat -type d -exec chmod -c 2750 {} \;
register: find_chmod_result
changed_when: 'find_chmod_result.stdout | length > 0'
The command is selecting all the folders
Hi,
> I'm not sure but it looks like several of the parameters for that
> ansible module map to the arguments of firewall-cmd:
> https://firewalld.org/documentation/man-pages/firewall-cmd.html
>
> In that case, the syntax would be:
> "either a number (of seconds) or number followed by one of char
I'm not sure but it looks like several of the parameters for that
ansible module map to the arguments of firewall-cmd:
https://firewalld.org/documentation/man-pages/firewall-cmd.html
In that case, the syntax would be:
"either a number (of seconds) or number followed by one of characters
s (seconds
Hi,
I'm using ansible on RHEL 7 remote servers to open up some ports
temporarily.
I'm looking at the official documentation but it is not clear to me whether
the timeout set in integer is whether in seconds or minutes.
Do you have any thoughts (before I start figuring out by myself)?
Ref:
Thank you so much
On Thu, May 27, 2021 at 2:23 PM Abhijeet Kasurde
wrote:
> Hi Shivani,
>
> Welcome to the community.
>
> There are a lot of ways you can contribute to. This is true for Ansible
> project as well as every Open Source Project.
>
> For example,
> 1. Join Mailing list (which you al
Hi Shivani,
Welcome to the community.
There are a lot of ways you can contribute to. This is true for Ansible
project as well as every Open Source Project.
For example,
1. Join Mailing list (which you already did)
2. Join IRC channels
3. Read the documentation, try things mentioned and report bu
Hello everyone,
I want to start my journey with open source and right now I am taking a
devops course and I want to start contributing to the community while
learning but there are so many thing happening in the community i feel a
little overwhelmed with the information and I don't know where to
If that next_hops list is going to be more or less static for many
destinations, a simple option would be to define it once and then
reference it.
Note that I had to manually type this - please post real text next
time, instead of pixel images, so people can copy/paste it, and things
can get indexe
22 matches
Mail list logo