try {{ inventory_hostname }}
Regards
Srini
On Wed, Feb 26, 2020 at 4:49 PM Vishal Bobade
wrote:
> Hello ,
>
> I have a inventory file with some 5-6 hosts and I want use them in some of
> my tasks/main.yml file. Could some one please suggest how can I do that .
>
> Lets say below is my
Hi
Hard to tell without knowing what and how things are deployed, and by what
people/teams. If you provide that context we can give it a try.
On Wed, 26 Feb 2020 at 21:01, Xinhuan Zheng wrote:
> Hello,
>
> We have ansible code that are in version control repository. This makes
> how to
Thanks @Matt for the response. I heard about the change, I did not
understand how it would have translated to my PR (
https://github.com/ansible/ansible/pull/67593 ). Should I abandon it or
someone from community would make that call for the PR?
On Wednesday, February 26, 2020 at 1:38:32 PM
All modules shipped within Ansible must adhere to GPLv3+.
However, we are basically not accepting any new modules at this time, and
new modules would need to be submitted to a collection repo instead. See
https://github.com/ansible-collections/overview/blob/master/README.rst for
more
I have a PR towards upstream ansible that is failing because of
lib/ansible/modules/web_infrastructure/jenkins_node.py:0:0:
missing-gplv3-license: GPLv3 license header not found in the first 20 lines
of the module
I have a licenced my code under BSD.2 . I was wondering if I can ignore the
On Wed, Feb 26, 2020 at 05:45:33AM -0800, DiViNe wrote:
> - hosts: heres_my_hostname
> tasks:
> - name: Check who's master and stop DB processe
> become: true
> become_user: this_is_the_application_User
> shell: "/path_to_script/script.pl | grep node | grep -oh MASTER"
> args:
Hello All,
I'm still patiently waiting for someone to give me some hint on below
questions. Thanks
- Xinhuan Zheng
On Thursday, February 13, 2020 at 4:46:35 PM UTC-5, Xinhuan Zheng wrote:
>
> Hello,
>
> I need to build Ansible inventory files, but somehow got stuck. Typically
> for a service,
Hello,
In my Netscaler Ansible module, I encountered a problem with
netscaler_lb_vserver. I'm trying to use a list of servicebindings to create
a single lb vserver with two services, but instead it only creates
"test2-service" for that lb vserver, "test1-service" isn't there. Is there
a way
Hello,
We have ansible code that are in version control repository. This makes how
to maintaining "ONE" inventory file difficult. If we need to create
multiple repositories, for different purpose of Ansible playbook running,
it breaks "ONE" inventory file assumption. In practice, does everyone
I completely spaces that you are running against Server 2008 R2. There's a
bug with PowerShell v3 and remoting around out of memory issues which
commonly appears like stuff you are seeing here. Make sure you have met the
pre-reqs and either
- Update PowerShell to v5 preferably
- Install
Could you please state clearly:
- Which command did you run, and what actual output did you get from
that (copied as plain text - not as images, attachments, or
screenshots).
- What the relevant tasks/playbooks/code/variables look like.
On Wed, 26 Feb 2020 at 14:45, DiViNe wrote:
>
> I need to
If this is about Ansible tower then please contact RedHat for support.
On Wed, 26 Feb 2020 at 14:18, anilkumar panditi
wrote:
>
> Hi,
> I am trying to pass hosts information dynamically from UI and invoke an
> ansible playbook which will configure the things on the dynamically passed
> hosts
I need to know if the server is a "master server". I have to run a perl
script (as a none root user) in order to find out if the server is a Master
server or a Secondary server.
The perl script has a lot a output, therfore I grep this after executing
the perl script: | grep node | grep -oh
Hi,
I am trying to pass hosts information dynamically from UI and invoke an
ansible playbook which will configure the things on the dynamically passed
hosts from UI.
Could you please help.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project"
Hello,
I allowed unencrypted on winrm client and winrm service with unrestricted
execution-policy.
Below is the detailed traceback for win_ping:
TASK [win_ping]
Hello Jordan and Hawkesworth,
Many Thanks for your email..!!
I disabled all services of Anti-Virus software on the server and tried
win_ping but still the same issue.
Tried with unrestricted, remotesigned and bypass execution policy but still
win_ping does not work.
Local user account which I
Hello ,
I have a inventory file with some 5-6 hosts and I want use them in some of
my tasks/main.yml file. Could some one please suggest how can I do that .
Lets say below is my inventory file
Hi Racke ,
Actually Controller/Tower not in our controll , different team handling ,
only we have controll on remote machine and playbook .
Even i can't access tower also .
Can u pls help me to know how we pass host variable from one play to other
?
i need to pass hostname from one play to
On 2/26/20 10:48 AM, rajthecomputerguy wrote:
> Hi Team,
>
> Any help would be appreciated ?
This question refers to a (very) specfic topic and is not related to Ansible.
Please specify how you would produce theses reports without Ansible.
Regards
Racke
>
> Thanks
>
> On Wednesday,
Hi Team,
Any help would be appreciated ?
Thanks
On Wednesday, February 19, 2020 at 7:18:55 PM UTC+5:30, rajthecomputerguy
wrote:
>
> Hi ,
>
> Has anybody generated interface report for checkpoint firewalls using
> Ansible?
>
> Thanks
>
--
You received this message because you are subscribed
I need to read VARIABLE from some pre-defined file, not from the console.
I have a file named "all" under group_vars with predefined variable, the
value of which can be changed, let say, from "C" to "D' depends on what I
need:
VARIABLE: C
Also, I have a task under my playbook:
- hosts:
It helped. Thank you @Abhijeet
On Wednesday, February 26, 2020 at 12:09:19 PM UTC+5:30, Abhijeet Kasurde
wrote:
>
> You can try this -
>
> - set_fact:
> excludefolders: "{{ excludefolders | default('') + ' -o -name ' +
> item | default('') }}"
> with_items: "{{ lookup('vars',
On Tue, 25 Feb 2020 23:24:14 -0800 (PST)
Janmejaya Swain wrote:
> 2. In fetch module . fetch the files with including host name in path .
> How we can avoid this hostname in path ?
>
> - name: fetch tar file from remote to local machine
> fetch:
> src: /tmp/tts_config.tar
>
On 2/26/20 8:24 AM, Janmejaya Swain wrote:
> Hi ,
>
> 1. I have multiple json as well as j2 files , Need to generate multiple
> config files by using template module.
> 2. In fetch module . fetch the files with including host name in path . How
> we can avoid this hostname in path ?
>
24 matches
Mail list logo