[ansible-project] Need some help with netconf

2020-07-23 Thread Dávid Kovács
Hi all! I already asked this question on irc, but I'm pretty sure it's just gonna get lost there without any real reply, so I'll try here too. I'm trying to configure a node through netconf, passing xmls through ssh (with the -s netconf option) works perfectly, however when I do it from Ansible

[ansible-project] Help on FortiGate 3000D Load balancer

2020-07-23 Thread Gajendra Gaikwad
Hello Team, I want to execute stat system command on FortiGate 3000D Load balancer so could help me what connection method should i used./ how i can execute this command Thank in Advance Regards, GG -- You received this message because you are subscribed to the Google Groups "Ansible Proje

Re: [ansible-project] How to verify col C is always double of Col D in ansible.

2020-07-23 Thread Jenisha T
Its the output of lsvg -l rootvg used in AIX server On Tuesday, 21 July 2020 at 19:58:19 UTC+5:30 brae...@gmail.com wrote: > On 7/21/20 4:20 PM, T. JENISHA wrote: > > > > Hi Team > > > > My register variable output > > > > verify_pp.png > > > > > > Need to verify in all rows (unknown how m

Re: [ansible-project] setting up a new system with Ansible

2020-07-23 Thread John Petro
Oh, that's a good idea, thanks for the suggestion. I hadn't thought about that one On Thu, Jul 23, 2020, 2:53 AM Gildas Cotomale wrote: > > > Le mercredi 22 juillet 2020 21:37:03 UTC+2, John Petro a écrit : >> >> That is pretty close to what I am doing. The only thing I want to do >> different

[ansible-project] Remote execution via jumpserver asa_config

2020-07-23 Thread sajal tiwari
Hello, I am executing a simple ansible playbook using asa_config module on a ASA via a Centos Jumpserver but i am getting below error. The full traceback is: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1595520658.91-31174-97593380815349/AnsiballZ_asa_config.py" , li

Re: [ansible-project] Remote execution via jumpserver asa_config

2020-07-23 Thread Dick Visser
So the only difference is the jumphost? Ie it works with one jumphost and it doesn't with another? On Thu, 23 Jul 2020 at 18:18, sajal tiwari wrote: > Hello, > I am executing a simple ansible playbook using asa_config module on a ASA > via a Centos Jumpserver but i am getting below error. > > Th

[ansible-project] Re: Ansible Remote Versioning

2020-07-23 Thread Phil Griffiths
Hi Firesh You are in danger of re-inventing the wheel here. As Jean-Yves points out, you are starting to negate the whole point of Ansibles idempotency. You write something once and no matter how many times you run it, it checks and only makes changes as necessary. Writing a timestamp to every

[ansible-project] Can playbook tag input be placed in group_var?

2020-07-23 Thread Gerry Maddock
If I'm running a playbook that has tags, can I place the tag information be placed in the group_vars? That way if I run a playbook against against an ansible group with children, the children could have different tags for use in the playbook? -- You received this message because you are subs

[ansible-project] Ansible unsupported Netscaler module

2020-07-23 Thread Josue Arroyo
Hello, I have the following playbook to create GLSBs for Netscaler devices using Ansible: - hosts: netscaler gather_facts: False vars: state: present gslb: name: test_gslb vserver: - port: '80' description: 'Generic service running on 80' type: 'HTTP' method: 'ROUNDROBIN' backupLBMethod: 'NON

[ansible-project] Re: Playboox only runs the second time

2020-07-23 Thread Phil Griffiths
Hi Robert This doesn't make a whole lot of sense why this would fail and then work. Definitely being applied to the SAME host on each run? I suggest you post your whole playbook(s) here as there's something else going on outside the mentioned failing task I suspect. As a good measure I would al

Re: [ansible-project] Remote execution via jumpserver asa_config

2020-07-23 Thread sajal tiwari
No the jumpserver is same only difference is playbook is linux playbook is working but asa playbook is not working. On Thursday, July 23, 2020 at 10:35:31 PM UTC+5:30, Dick Visser wrote: > > So the only difference is the jumphost? > Ie it works with one jumphost and it doesn't with another? > > O

Re: [ansible-project] Can playbook tag input be placed in group_var?

2020-07-23 Thread Vladimir Botka
On Thu, 23 Jul 2020 10:37:38 -0700 (PDT) Gerry Maddock wrote: > can I place the tag information be placed in the group_vars? No. It's not possible. Quoting from "Tags" https://docs.ansible.com/ansible/latest/user_guide/playbooks_tags.html#tags "You can see which tasks will be executed with --

Re: [ansible-project] Can playbook tag input be placed in group_var?

2020-07-23 Thread Jean-Yves LENHOF
Hi, I think you should be asking what you want to do more clearly (Perhaps with a little playbook to be completed) instead of trying some obscured things Regards, JYL Le 23/07/2020 à 19:37, Gerry Maddock a écrit : If I'm running a playbook that has tags, can I place the tag information be

Re: [ansible-project] Creating users in VCD Unsupported API version

2020-07-23 Thread Nagesh sheregar
Hi Abhi, python isue resolved but i am gettig below error, even i am providing right password: TASK [vcd : VCD USER creation] **

Re: [ansible-project] Can playbook tag input be placed in group_var?

2020-07-23 Thread Vladimir Botka
On Thu, 23 Jul 2020 21:36:08 +0200 Jean-Yves LENHOF wrote: > I think you should be asking what you want to do more clearly (Perhaps > with a little playbook to be completed) instead of trying some obscured > things It's not possible on the playbooks' level actually. Any attempt will look obscu

Re: [ansible-project] Re: Working around lookup plugin limitation with environment variables

2020-07-23 Thread Nicolas Houillon
Thanks Dick, what do you mean in one play and another ? yes I d like to reuse the environment in different plays(roles) which will also make sts to be used in all subsequent tasks/roles yes. *Nicolas Houillon - houillo...@gmail.com **514 224 9930* Le mer. 22 juil. 2020 à 21:28, Dick Visser a

Re: [ansible-project] Can playbook tag input be placed in group_var?

2020-07-23 Thread Gerry Maddock
Thanks Vladimir On Thu, Jul 23, 2020 at 3:57 PM Vladimir Botka wrote: > On Thu, 23 Jul 2020 21:36:08 +0200 > Jean-Yves LENHOF wrote: > > > I think you should be asking what you want to do more clearly (Perhaps > > with a little playbook to be completed) instead of trying some obscured > > thing

Re: [ansible-project] Remote execution via jumpserver asa_config

2020-07-23 Thread Dick Visser
You only posted one playbook initially, Which I think is the "asa playbook". But now you mention a second "linux playbook". What does that look like? Is it very similar? Logically, if one playbook "doesn't work", and a different one does, then you've not proven much. But instead of going over all

[ansible-project] host file doesn't read variable for windows

2020-07-23 Thread Work-Hard
Hello, my host file for ansible is not reading additional variables. Following is my *host file:* [ubuntu] [amazonlinux2] [database] [windows] [windows:vars] ansible_connection = winrm ansible_ssh_port = 5986 ansible_winrm_transport = kerberos ansible_winrm_server_cert_validation = ignore vali

[ansible-project] Re: setting up a new system with Ansible

2020-07-23 Thread Ed Wong
Hi Gildas, Thanks for the info. Much appreciated. Ed -- 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+unsubscr...@googlegroups.com. To view

[ansible-project] cp_mgmt_run_script module

2020-07-23 Thread Simon Macpherson
Hello All, I have a playbook that is using the cp_mgmt_run_script module. The following error is returned when the playbook is run. TASK [run-script] fatal: [10.1.2.51]: FAILE

Re: [ansible-project] Help on FortiGate 3000D Load balancer

2020-07-23 Thread Gajendra Gaikwad
Hello anyone call help on this On Thu, 23 Jul 2020, 14:17 Gajendra Gaikwad, wrote: > Hello Team, > I want to execute stat system command on FortiGate 3000D Load balancer so > could help me what connection method should i used./ how i can execute this > command > > > Thank in Advance > > Regards,

[ansible-project] Re: host file doesn't read variable for windows

2020-07-23 Thread jbor...@gmail.com
1. You have a typo when you specify kerberos auth, it should be 'ansible_winrm_transport' but you have 'anisble_winrm_transport' 2. validate_certs: false doesn't affect WinRM cert validation, that's just a standard var 3. You shouldn't have to set ansible_winrm_read_timeout_se