Hello,
I need to get with a external command the result of execution on a
scheduled template, the report must include the hosts where was executed an
if the host was unreachable.
How can I do it ?.
Thank you for help.
Best reards.
Flavio Gobber
--
You received this message because you are
Figured out how to merge the lists based on values in each list.
- name: merge lists
set_fact:
merged_list: "{{ merged_list|default([]) + [{
'name': item[0].name,
'size_available': item[0].size_available,
'size_avaliable_80':
Adding further to above, i know i can get the value i want by doing this.
- debug:
msg: "{% for address in net_interface if address.node_name ==
'IQ-REG_NA_CLUSTER_01-01' %}{{ address.address }}{% endfor %}"
Anyway to add that logic when creating the aggregate_info list. for
example,
Hello,
Basically want to add the items of net_interface into aggregate_info or
create new list/dictionary based on key value of node_name. Looking for
assistance on how i can achieve this please and thank you.
Outcome of what want it listed below.
*list called: aggregate_info*
{
"name":
Hello,
Basically want to add the items of net_interface into aggregate_info or
create new dictionary based on key value of node_name. Looking for
assistance on how i can achieve this please and thank you.
*Dictionary called: aggregate_info*
{
"name": "agg_Data1_Cluster01",
"node_name":
Hi Guys,
I have periodic updates on all RedHat servers at the same time, I need to
create a strategy to restart my clusters because I can't stop my
application and services.
How to create the reboot strategy server-per-server in clusters?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
On Thursday, June 25, 2020 at 1:58:18 PM UTC-4, Jam Volkov wrote:
>
> Hi All,
>
> I'm testing a webhook notification from Ansible tower, it works good
> Received data example:
>
> {"id": 14, "name": "job_test", "url": "
> https://ansibletower/#/jobs/playbook/14;, "created_by": "admin",
>
Below is my playbook that helps check telnet connections from my localhost
to all remote hosts.
- wait_for:
host: "{{ item }}"
port: 22
state: started # Port should be open
delay: 0 # No wait before first check (sec)
If I'm trying to unarchive only the file out of the role I can do it, but
when I'm trying to do in role with the proxy its causing error
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to find
handler for
Hi all,
I'm trying to understand what happens when a shell command exits in ansible
in sync vs. async modes. It seems that in the former case there is a SIGHUP
sent and in the latter there isn't. To test this I created a startup script
for a background process that runs forever:
Hi,
When I am trying to run ansible job from my host computer to remote server
it fails with the following error logs -
<127.0.0.12> ESTABLISH SSH CONNECTION FOR USER: ansibleuser
<127.0.0.12> SSH: EXEC sshpass -d47 ssh -vvv -C -o ControlMaster=auto -o
ControlPersist=60s -o
Hi Kai.
Trust you are well, we are testing adding new configs via Ansible on the
SBC, just struggling, to handle the various prompt changes, as you navigate
the different configuration levels, and I have tweaked the playbook, but
not coming right.
Here is the below output.
The full
12 matches
Mail list logo