I am able to get dynamic inventory in GCP , can i know is there any method
to filter ( as hostname and IP only ) and export to some txt format ?
thanx
Ajax
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and
Hi Payal,
I am also working on BIGIP for GCP . currently facing an issue with the
problem that find the "newly added" node ip and move to pool using ansible.
can you help me in this case ?
On Monday, August 21, 2017 at 11:54:56 PM UTC+5:30, Payal Singh wrote:
>
> Hello Ansible Users, I am p
Hi,
Noticed that a few of our playbooks failed to run on AIX after trying to
move from 2.7.10 to 2.8.4
I´ve tracked it down to handling of the ansible_distribution_major_version
fact.
*We include variables in the playbooks like this:*
- name: Include OP5 varibles.
include_vars: "{{ item
Hi All,
I am getting error while using below playbook . Any idea how it can be
achieved .
---
- name: install Disribution Server
gather_facts: no
hosts: win
vars_prompt:
- name: "Password"
prompt: "Enter password"
private: yes
tasks:
- name: Install services
sc
Hello,
I am having some trouble using the `junos_command` with the rpcs option. I
am trying to get the configuration from my router in xml format while using
the 'display inheritance' option (to resolve groups and interface ranges),
but it looks like none of my attributes are being sent:
My t
You can use hostnames in an ansible inventory without a problem. However,
your DHCP server is responsible for creating DNS entries for DHCP hosts
(supported by some routers and dhcp systems, look for a "register hostname
with DNS" option)
On Monday, September 23, 2019 at 5:15:28 PM UTC-4, Raje
Hi Kai,
I have been trying various ways to get my playbook working by using
hostvars.
Here are some of the ways I have tied, with no luck
*Trial1* : when: {{
hostvars['hostname1]['ansible_facts']['distribution']}} == "CentOS"
*Trial2*: when: ansible_facts['hostname1']['distribution'] == "CentO
On Mon, 30 Sep 2019 20:03:25 +0530
Srinivas Naram wrote:
> *Trial1* :
> when: {{hostvars['hostname1]['ansible_facts']['distribution']}} == "CentOS"
Try this one
when: "hostvars['hostname1']['ansible_facts']['distribution'] == 'CentOS'"
--
You received this message because you are subscribed
On 30.09.2019 13:35, Daniel Delin wrote:
> *If I check the fact cache file it looks like this on both 2.7.10 and
> 2.8.4, which seems correct:*
>
> "ansible_distribution": "AIX",
> * "ansible_distribution_major_version": "5", *
> "ansible_distribution_release": "3",
> "ansible_dist
On 30.09.2019 14:46, Manish Kumar wrote:
> [WARNING]: Could not match supplied host pattern, ignoring: win
>
>
> PLAY [install Disribution Server]
> **
>
> skipping: no hosts matched
You have no host or group called win in your inventory.
--
Kai
On Mon, Sep 30, 2019 at 1:08 PM Kai Stian Olstad
wrote:
>
> On 30.09.2019 14:46, Manish Kumar wrote:
> > [WARNING]: Could not match supplied host pattern, ignoring: win
> >
> >
> > PLAY [install Disribution Server]
> > **
> >
> > skipping: no hosts mat
I think it's the spelling of your inventory in the playboook. You posted
inventry.yml instead of inventory.yml, I assume.
Mark
On Mon, Sep 30, 2019, 7:28 PM Mauricio Tavares wrote:
> On Mon, Sep 30, 2019 at 1:08 PM Kai Stian Olstad
> wrote:
> >
> > On 30.09.2019 14:46, Manish Kumar wrote:
> >
Here are my 3 questions that i have to respons when i want to install my
scanner
I find the module Expects but i dont find so much about that, i had tried
to implement it, but i get a error.
heres is my code:
[image: ErrorAnsible2.PNG]
here comes the error, i disbloqued the first line of the qu
Hello,
I have a requirement to call an ANSIBLE Job template endpoint from external
application, but would like to restrict the the access of the token to a
specific Job template only.
My ID has access to many templates and I would like have the token
restricted to only one of them.
Is it pos
On 30.09.2019 22:40, Javier Esparza wrote:
> Here are my 3 questions that i have to respons when i want to install my
> scanner
> I find the module Expects but i dont find so much about that, i had tried
> to implement it, but i get a error.
>
> heres is my code:
>
> [image: ErrorAnsible2.PNG]
>
Is correct what i have write?
--
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 this discussion on the web
On 30.09.2019 23:41, Javier Esparza wrote:
> i tried that but with the same anser
>
> [image: ErrorAnsible4.PNG]
Please don't use images, it's impossible to comment on.
You need to look closer, I did not have dashes nor Questions in my task.
Just copy inn my task and it will work.
--
Kai Stia
Sorry my friend here comes de code.
- name: Ejecutamos el script de instalacion del scanner
expect:
command: /tmp/uld/install-scanner.sh
response:
Questions:
- "Press Enter to continue or q and then Enter to quit.:" :
"\n"
Hi,
We are having an issue with one of our components where in the file system says
not available even though the device is available (via Ansible).
The instance is spinned up and via ansible we set the facts like - set_fact:
device: /dev/nvme2n1 when: nvmedev.stat.exists == TrueThen attach /
19 matches
Mail list logo