I'am using "ansible cassandra -m ping " or "ansible all -m ping " and is
can easily ssh also but the moment I run the playbook it shows me this
error.
On Monday, December 4, 2017 at 8:33:38 PM UTC+5, Dick Visser wrote:
>
> Your comment "it perfectly connects" indicates you used ansible -m
> pi
Ansible fixed the bug as misunderstood and alsogather_factsa play
directive, it does not work on tasks.
then whats the way to get localhost facts?
1. create role and role YML file with remote hosts defined as
2. create tasks file which actually needs to gather fact of localhost
3. run
Hi all,
The scenario is -
I have a file in which I have below content
BUILD_VERSION = 4
on every run, I want to increase BUILD_VERSION counter to 1, so that it
will be -
BUILD_VERSION = 5 (on next run)
I am trying different things but stuck. How can this be done ?
--
You received this me
Have you been able to figure this out? I would be glad to help if needed.
How are you determining which are the masters vs. clients? The first two in
the list become masters or some other logic?
On Saturday, December 2, 2017 at 2:39:18 AM UTC-5, parwinderjit singh wrote:
>
> Hi Larry,
>
> Can yo
Hi area0,
Thanks for your prompt reply,
I will tell you what I did, I created callback_plugin directory inside this
directory I put ansible.cfg file, then I created human_log.py file, now I
am running my playbook, but I didn't get any output, could you please help
me to run this playbook.
Lo
Thanks
It works, I am able to do ping pong to my windows client but not able to
install a .exe packages through ansible this is my output
ansible windows -m win_ping
Lenovo-PC | SUCCESS => {
"changed": false,
"ping": "pong"
}
And my windows.yml file is:
ansible_user: Administrator
ansib
The match is a regular expression match (not a wildcard match). If you want
something ending in 'd' try this:
search('d$')
kind regards
Pshem
On Tue, 5 Dec 2017 at 13:08 Luke Miller wrote:
>
> I am trying to use tests to match a hostname, I want hostnames that end in
> the letter "d", they ar
I am trying to use tests to match a hostname, I want hostnames that end in
the letter "d", they are non-production hosts, here is what I have:
- name: Register to Foreman Redhat non-Prod
redhat_subscription:
state: present
activationkey: "Non-Prod-Redhat-7"
org_id: "Default_Organiz
I have a playbook where I use a dictionary variable file and an
includes_tasks play. My issue is the playbook displays the variables when
it is run. I tried no_log: True and ignore_errors: True but makes no
difference. I am using ansible version 2.4.1.0
*Here is the playbook tasks:*
tasks:
Hi everyone,
I'm receiving this weird error when running the second playbook (with
include module and passing IP address).
Here is my first playbook:
---
- name: get VM list from ESXi
hosts: all
tasks:
- name: get facts
vmware_vm_facts:
hostname: "{{ inventory_hostname }}"
Your comment "it perfectly connects" indicates you used ansible -m
ping, but the authentication error suggests you did ICMP ping.
So, which ping did you use?
Thanks
DIck
On 4 December 2017 at 13:03, Muhammad Mahir wrote:
>> Thank you so much for your reply.
>
>
> I've got your point and have
I also hitting same issue. My /etc/ansible/hosts entry:
[windows]
10.x.x.33
cat /etc/ansible/groups_vars/windows.yml
ansible_user: Administrator
ansible_password:
ansible_port: 5986
ansible_connection: winrm
# The following is necessary for Python 2.7.9+ when using default WinRM
self-signed ce
Hello, I have the issue with upgrading our product on Debian-based systems.
We have already installed packages of the version, for example, 2.0. There
are several packages and some of it depend of the other.
When I'm trying to **upgrade the product** from the version 2.0 to the
version 2.1, **
>
> Thank you so much for your reply.
I've got your point and have removed connection: local from my playbook.
But after that a new output appears this time.
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user
and
make sure become_method is 'sudo' (default). This feature
Maintenance completed. Galaxy 2.4.0 was successfully deployed.
Thanks!
On Friday, December 1, 2017 at 9:42:58 AM UTC-5, chou...@redhat.com wrote:
>
> We'll be doing some minor maintenance to the Galaxy web site on 4-Dec-2017
> between 6:00 AM and 7:00 AM Eastern.
>
> Be aware that during this
just set the following environment variable, no need for the human_log.py
callback plugin;
export ANSIBLE_STDOUT_CALLBACK=debug
works fine for me; ansible 2.4.0.0
Hope this helps
On Monday, December 4, 2017 at 10:08:55 PM UTC+11, SUMIT SAHAY wrote:
>
> Hi Rajeev,
>
> I have query regarding C
Hi Rajeev,
I have query regarding Callback plugin, could you tell me how to setup this
and how to run this, if you provide the steps it would be much appreciated.
Looking forward for your reply...
Thanks & Regards
Sumit Sahay
On Sunday, 5 March 2017 10:51:27 UTC+5:30, rajeev wrote:
>
> Sorry
On 04.12.2017 09:38, Muhammad Mahir wrote:
Hello there,
I just want to test my script if it creates a simple .txt file into a
destination put instead it is creating that same file into the source
vm that is where the ansible is installed.
Here is the simple script I'm running.
---
*- hosts: C
Hello there,
I just want to test my script if it creates a simple .txt file into a
destination put instead it is creating that same file into the source
vm that is where the ansible is installed.
Here is the simple script I'm running.
---
*- hosts: Cassandra*
* remote_user: murtaza*
* conn
19 matches
Mail list logo