Hi,
I create a new filter plugin but the plugin needs to get vars from the
host. How to get the vars in python filter plugins?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
the execution
I call another task or via callback call a previous task?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
--
You received this message because you are subscribed
that the conditional does not accept filter_plugin.
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
--
You received this message because you are subscribed to the Google Groups
em_type == 'linux'
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
PM John Petro wrote:
> Are you using ansible to apply updates and reboot now? If so, what does
> your current process look like?
>
> --john
>
> On Mon, Jun 29, 2020 at 3:26 PM Rafael Tomelin
> wrote:
>
>>
>> Hi Guys,
>> I have periodic updates on a
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
0googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/682613d9-09c4-4aa6-b52e-338a076c51e2o%40googlegroups.com?utm_medium=email_source=footer>
> .
>
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified En
e-project/01aa821e-afb8-45fb-8bd0-3baec466e97co%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/01aa821e-afb8-45fb-8bd0-3baec466e97co%40googlegroups.com?utm_medium=email_source=footer>
> .
>
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI
ead you want to do this in loop, like:
>
> loop: '{{ virtual_machine|default({})|dict2items }}'
>
> On Mon, Jun 15, 2020 at 2:39 PM Rafael Tomelin
> wrote:
>
>>
>> Hi guys,
>>
>> I have a task with equal below, but when I validate it is defined i
;
How I do for doesn't read loop and not stop playbook when virtual_machine
not defined?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
--
You received this message b
loop in task: sequence
How can create this loop?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification
--
You received this message because you are subscribed to the Google G
Hi,
I have a task for creating the virtual machine at Azure with_dict.
I should like to create a variable count (number the VMS) and put it
with_dict.
How can create loop count with with_dict?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
LPI ID: LPI000191271
Hey Dear,
I would like to know if exists plugin, filter, module, then always running
in ansible server, not necessary to specify delegate_to or
local_action. If exists, which is and how work?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project"
put your playbook here
>
> On Tue, 27 Aug 2019 at 5:36 PM, Rafael Tomelin
> wrote:
>
>>
>> Hi,
>>
>> I have an inventory with groups this configuration the DB Servers:
>>
>> [db]
>> 192.168.0.1
>> 192.168.0.2
>> 192.168.0.3
>
].ansible_hostname
}}/32 trust
{% endfor %}
My error
"msg": "AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars
object' has no attribute 'ansible_hostname'",
What`s correct configuration?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: ra
;: "str" },
"purpose": {"default": True, "type": "str" },
"resource": {"required": True, "type": "str" },
"acronym": {"default": True, "type":
OK,
But this problem is equaled in AWX management ansible.
On Mon, Jul 1, 2019 at 3:22 PM Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 01.07.2019 20:12, Rafael Tomelin wrote:
> > Dears,
> >
> > I am using Ansible Tower for management ansible. I am
Dears,
I am using Ansible Tower for management ansible. I am with a problem
because put variables (groups and hosts) in inventory but not load in jobs.
How can loaded variables in groups and hosts from inventory?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin
Hi,
I create new role for deploy services in cloud. My role requirement
role azure.azure_preview_modules, but can`t execute.
Not possible configuration with dependencies but execution role.
How is create requirement in role other role?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-984104084
Hi,
I need create custom facts in windows, but where directory create in
windows for customs facts? How set path custom facts in windows in ansible?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
Hi,
I need export variable the playbook for other playbook, this is possible?
I deploy virtual machine in Azure and after deploy my application.
Need deploy execute in 1 execution and not more deploys
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-84104084
Skype: rafael.tomelin
LPI ID
destination_port_range: 443
access: Allow
priority: 90
direction: Inbound
I need, put the content in variable.
Is need to security_group in azure or aws.
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-84104084
Skype: rafael.tomelin
LPI ID: LPI000191271
--
You received this message
y_subnet
> ip_configurations:
> - name: ipconfig{{item}}
> public_ip_address_name: "{{ get_ip_public.state.name }}"
> primary: False
> with_sequence: start=1 end=networkinterface_numberminus1
> vars:
> networkinterface_numberminus1: networkinterface_number - 1
>
>
gt; public_ip_address_name: "{{ get_ip_public.state.name }}"
> primary: False
> with_sequence: start=1 end=networkinterface_number
>
>
> Would be my suggestion, it looks like it'd need some work around the IP
> address assignments.
>
> On Mon, 4 Feb 2019 at 12:10, Ra
_address_name: "{{ get_ip_public.state.name }}"
> primary: False
> with_sequence: start=1 end=networkinterface_number
>
>
> Would be my suggestion, it looks like it'd need some work around the IP
> address assignments.
>
> On Mon, 4 Feb 2019 at 12:10, Rafael Tomelin
> wrote:
&
ace_number}}"
But, myvar not replace in loop with_sequence.
On Mon, Feb 4, 2019 at 8:55 AM Keif Gwinn wrote:
> multiple blocks with the when: keyword?
>
> On Fri, 1 Feb 2019 at 19:37, Rafael Tomelin
> wrote:
>
>> Hi,
>>
>> How defined variable value wh
alse*
with_sequence: count=3 #"{{networkinterface_number}}"
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-84104084
Skype: rafael.tomelin
LPI ID: LPI000191271
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop r
:36, Rafael Tomelin
escreveu:
> Hello guys,
>
> I'm trying to set up callback not available from the '
> https://blog.octo.com/en/walkthrough-watch-your-ansible-deployments-in-grafana/'
> link, but it is not working and displays the following message:
>
> [DEPRECATI
file:
/etc/ansible/callback_plugins/grafana_annotations.py
What may be the problem?
--
Atenciosamente,
Rafael Tomelin
skype: rafael.tomelin
E-mail: rafael.tome...@gmail.com
RHCE - Red Hat Certified Engineer
PPT-205 - Puppet Certified Professional 2017
Zabbix- ZABBIX Certified
If you mean AWS tags, most resource modules provide a "tags" attribute, if
> the resource supports tags. Some resources (generally those with IDs) can be
> tagged using the ec2_tag module.
>
> Regards, K.
>
>
> On Tue, Jan 29, 2019 at 11:25 PM Rafael Tomelin
> w
Hi dear,
I need create tag in my role, this example:
vars/main.yml
name_variable:
tags:
key1: value1
key2: value2
in tasks
taks/main.yml
- name: name my task
user: name
tags:
tags from vars
how can create this tags?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51
password' | password_hash('sha512', 65534 |
> random(seed=inventory_hostname) | string) }}
>
>
>
> On Fri, Jan 25, 2019 at 8:11 PM Rafael Tomelin
> wrote:
> >
> > Hi dear,
> >
> > How can create variables in hash, example:
> >
> > ---
>
Hi dear,
How can create variables in hash, example:
---
# vars file for roles
my_var_root:
my_sub_var:
name: example
env: environment
key: my_key
And how, pull in code?
--
Atenciosamente,
Rafael Tomelin
Tel.: 51-84104084
Skype: rafael.tomelin
LPI ID: LPI000191271
33 matches
Mail list logo