Re: [ansible-project] Ansible licensing when accesing DNAC via API

2021-12-03 Thread Vicente Domínguez
Hi, Would you have any clue about this? Many thanks to all! On Fri, 26 Nov 2021, 01:14 vi1...@gmail.com, wrote: > Hi all, > > Question about licensing... > > Imagine that I have a DNA Center appliance which controls 5 network > devices. > > If I want to, for example, access to the DNAC using a

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-23 Thread Vicente Domínguez
soon as I can, I will let you know how It goes. Thank you so much for the idea and of course, your time. Kind Regards, Vicente. El mié., 23 sept. 2020 a las 12:04, Stefan Hornburg (Racke) (< ra...@linuxia.de>) escribió: > On 9/23/20 11:47 AM, Vicente Domínguez wrote: > >

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-23 Thread Vicente Domínguez
calhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.0.1.70 node1 10.0.1.80 node2 10.0.1.90 node3 10.0.1.60 node4 Thank you in advance! Vicente El mar., 22 sept. 2020 a las 13:33, Stefan Hornburg (Racke) (< ra...@linuxia.de>) escribió: >

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-22 Thread Vicente Domínguez
Below: El mar., 22 sept. 2020 a las 10:34, Werner Flamme () escribió: > Vicente Domínguez (16.09.20 14:34): > > Hi, > > > > As mentioned in the first email of the thread: > > - /etc/hosts file example to be replicated: > > > > 127.

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-21 Thread Vicente Domínguez
Hi everybody, any clue about this exercise with templates and ansible_facts? your wisdom is truly appreciated :) Thank you in advance! El mié., 16 sept. 2020 a las 14:34, Vicente Domínguez () escribió: > Hi, > > As mentioned in the first email of the thread: > - /etc/hosts file e

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-16 Thread Vicente Domínguez
gt; > On Tue, 15 Sep 2020 at 14:54, Vicente Domínguez wrote: > > > > Hi Dick, > > > > Yes, the file already exists in the control node and it is consistent > for just send it to the target nodes. > > But imagine for a second that you don't have it ("

Re: [ansible-project] Template for /etc/hosts file replication

2020-09-15 Thread Vicente Domínguez
Hi Dick, Yes, the file already exists in the control node and it is consistent for just send it to the target nodes. But imagine for a second that you don't have it ("/etc/hosts" file), and you want to create it in the target nodes following the conditions specified before: - Using J2 template pro

Re: [ansible-project] Delgate_facts understanding

2019-11-04 Thread Vicente Domínguez
> Does that explanation help? > > Vlado, > Do you want to proof a quick fix to the grammar & wording of the doc page > (before or after I post a PR)? > > On Monday, November 4, 2019 at 6:09:27 AM UTC-5, Vicente Domínguez wrote: >> >> I understand this the

Re: [ansible-project] Delgate_facts understanding

2019-11-04 Thread Vicente Domínguez
urrent) facts will be overridden. That's why you will print "ansible_hostname": "test_02" instead of "test_01" I truly don't know what I'm missing! El lunes, 4 de noviembre de 2019, 10:35:47 (UTC+1), Vladimir Botka escribió: > > On Mon, 4 Nov

Re: [ansible-project] Delgate_facts understanding

2019-11-04 Thread Vicente Domínguez
t It was suggested by you to check :) Thank you very much Vlado, hope it helps for my certification exam this week! Cheers. El lunes, 4 de noviembre de 2019, 9:21:10 (UTC+1), Vladimir Botka escribió: > > On Sun, 3 Nov 2019 23:26:19 -0800 (PST) > Vicente Domínguez > wrote: > &g

Re: [ansible-project] Delgate_facts understanding

2019-11-03 Thread Vicente Domínguez
APPServers tasks. Thanks a lot, Vicente. El lunes, 4 de noviembre de 2019, 0:32:39 (UTC+1), Vladimir Botka escribió: > > > > On Sat, 2 Nov 2019 14:57:50 -0700 (PDT) > > > Vicente Domínguez > wrote: > > > > > > > *- name: delegate facts testing* &

Re: [ansible-project] Delgate_facts understanding

2019-11-03 Thread Vicente Domínguez
), which could lead to errors... =S I don't get the point of this functionality at all, any useful example that you have in mind? Thank you for your help :) El domingo, 3 de noviembre de 2019, 0:59:25 (UTC+1), Vladimir Botka escribió: > > On Sat, 2 Nov 2019 14:57:50 -0700 (PDT)

[ansible-project] Delgate_facts understanding

2019-11-02 Thread Vicente Domínguez
Hello everyone, I don't totally get the point of the *delegate_facts* usage in Ansible. I have written the follow code to test this clause: *- name: delegate facts testing* * hosts: localhost* * tasks:* * - name: print FQDN - first attempt* * debug:* * msg: "{{ ansible_fqdn }}"*

Re: [ansible-project] Understanding of REMOTE_USER II: Command ID in the managed host

2019-10-07 Thread Vicente Domínguez
es, 7 de octubre de 2019, 22:27:50 (UTC+2), Vladimir Botka escribió: > > On Mon, 7 Oct 2019 12:42:24 -0700 (PDT) > Vicente Domínguez > wrote: > > > Let's imagine that I don't have ANSIBLE user on the managed host, as > > follows: > > -->Control Node

Re: [ansible-project] Understanding of REMOTE_USER II: Command ID in the managed host

2019-10-07 Thread Vicente Domínguez
as possible) Thank you very much in advance.. your help is really apreciated. Regards, Vicente. El lunes, 7 de octubre de 2019, 20:41:56 (UTC+2), Vladimir Botka escribió: > > On Mon, 7 Oct 2019 10:57:49 -0700 (PDT) > Vicente Domínguez > wrote: > > > I have 2 nodes with t

[ansible-project] Understanding of REMOTE_USER II: Command ID in the managed host

2019-10-07 Thread Vicente Domínguez
Hello everybody, Regarding the understanding of how the REMOTE_USER works in managed hosts.. I've created a playbook which executes the command ID, with the aim of knowing who is the user executing the action in the managed host. [image: Captura2.PNG] I have 2 nodes with the follo

[ansible-project] Re: Understanding Ansible remote user

2019-10-07 Thread Vicente Domínguez
error, but this belongs to another thread... Thank you! El lunes, 7 de octubre de 2019, 18:00:51 (UTC+2), Vicente Domínguez escribió: > > I am sure that this is probably a silly question, but It's the basis for > the preparation for Ansible certification exam. I have tro

[ansible-project] Understanding Ansible remote user

2019-10-07 Thread Vicente Domínguez
I am sure that this is probably a silly question, but It's the basis for the preparation for Ansible certification exam. I have troubles with the understanding of the Ansible remote_user. Let's imagine that you have a control node and a managed host to perform some action, the users in both