On 25.01.17 01:19 Pshem Kowalczyk wrote:
> Is there any particular reason you don't want have ssh inside the container
> at least initially? You can always disable it after you're done with
> initial configuration.
+1 for installing ssh in the container.
And use the host as a jumphost
On 24.01.17 03:30 Kiran Kumar wrote:
> x oracle
> y db
> x prod
I assume the x should be the hostname, and the second column should be
the line in /etc/hosts.allow?
> how can i do it for huge number of nodes ?
You put more than one host in the "- hosts:" line? ;-)
Seriously, put the x=oracle
hi folks,
I'm faced with an API that only behaves in a "pave and rebuild" sort of
model that I want to build a module for
I was wondering if anyone was familiar with any existing modules that
operate with similar APIs.
Among other things, the module is always going to return changed even if it
Is there any particular reason you don't want have ssh inside the container
at least initially? You can always disable it after you're done with
initial configuration.
kind regards
Pshem
On Wed, 25 Jan 2017 at 12:31 'Mario Keller' via Ansible Project <
ansible-project@googlegroups.com> wrote:
look at lxd connection plugin, IIRc it allows for remote connections
--
Brian Coca
--
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
I explain my problem
I get an inventory of 10,000 servers (Linux) through a python in json
format, I have a playbook that is responsible for collecting information
from the servers and at the end with java I assemble a final report
It is very common that a server has a problem with some
I explain my problem
I get an inventory of 10,000 servers (Linux) through a python in json
format, I have a playbook that is responsible for collecting information
from the servers and at the end with java I assemble a final report
It is very common that a server has a problem with some
I'm guessing you are trying to supply an integer as one of the responses,
try quoting it like "1"
On Tue, Jan 24, 2017 at 11:36 AM, Pavel Voinov wrote:
> I have similar problem but with a bit different outcome:
>
> Insufficient version of pexpect installed (4.2.1), this
I have similar problem but with a bit different outcome:
Insufficient version of pexpect installed (4.2.1), this module requires
pexpect>=3.3. Error was 'int' object has no attribute 'rstrip'"
Ansible version:* 2.2.0.0*
pexpect version: *4.2.1* (definitely greater than 3.3).
On Tuesday, 29
hello all
i need to update /etc/cron.allow on many servers
below is eg
x oracle
y db
x prod
...
..
===
it works for a single node
- name: Add a word in remote file
hosts: temp
remote_user: xx
sudo: yes
tasks:
- name: edit cron.allow
lineinfile:
destfile:
Hi all,
I have recently released on a project on GitHub called ansible-everyday.
https://github.com/kaosagnt/ansible-everyday
This project contains many of the Ansible playbooks that I use daily as a
Systems Administrator in the pursuit of easy server task automation.
Contained in the
I explain my problem
I get an inventory of 10,000 servers (Linux) through a python in json
format, I have a playbook that is responsible for collecting information
from the servers and at the end with java I assemble a final report
It is very common that a server has a problem with some
Hello,
I'm trying to configure lxc containers via ansible running on a remote
host. I have ssh access to the remote host, but inside the containers there
are no ssh services running. There is a lxc connection plugin that handle
access to the containers via lxc-attach but it seems that this
I believe its colon (:)
On Tuesday, January 24, 2017 at 10:05:24 AM UTC-8, Kishor Ramanan wrote:
>
> I am using a dynamic inventory so I don't have option of placing all host
> in a single file
>
> For dynamic host the syntax is
>
> hosts: tag_Name_us_east_1a_weblogic_dev*
>
> What I want to
I am using a dynamic inventory so I don't have option of placing all host
in a single file
For dynamic host the syntax is
hosts: tag_Name_us_east_1a_weblogic_dev*
What I want to use is
hosts: tag_Name_us_east_1a_weblogic_dev*, tag_Name_us_east_1a_apache_qa*
But when i pass the above
It's working now, after updated the /etc/ansible/ansible.cfg file with
below values
from
remote_tmp = $HOME/.ansible/tmp
to
remote_tmp = /tmp/.ansible/tmp
Jithendra
On Monday, January 23, 2017 at 6:09:05 PM UTC-5, jithendra myla wrote:
>
> i trying run ansible command on new server
What exactly do you mean? Do you mean running a play on multiple hosts?
Maybe you should put your playbook and inventory here + output when running
it.
On Tuesday, January 24, 2017 at 4:37:09 PM UTC+1, Kishor Ramanan wrote:
>
> I have configured Ansible to use dynamic inventory list but I am
If you know the existing group id then you can use:
group_id: sg-12345678
Or if you have more than one group:
group_id:
- sg-12345678
- sg-87654321
Kenton Brede
On Mon, Jan 23, 2017 at 4:00 AM, Sm Sathi wrote:
> Hi
> Can someone share how can i
Thank you Shyam, it works now
On Friday, January 20, 2017 at 1:10:13 PM UTC-5, Shyam Yenna wrote:
>
>
> if your using linux machine. Use vi editor identify multi lines to comment
> and comment them
>
> : set number
> :10,20s/^/#/
>
--
You received this message because you are subscribed to the
Thank you Brain
On Thursday, January 19, 2017 at 7:34:40 PM UTC-5, Brian Coca wrote:
>
> It works as expected, the "copy of httpd" returns OK, not changed, the
> "install of apache" is changed, but does not have a notify.
>
> A task must have a notify AND return changed status to invoke a
Thank you Brain Coca
On Thursday, December 15, 2016 at 12:26:39 PM UTC-5, Brian Coca wrote:
>
> ansible-doc
>
>
> --
> Brian Coca
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving
I have configured Ansible to use dynamic inventory list but I am able to
use only one hostname instead of multiple hostnames.
Even if I give multiple hostname, it takes only one
Is there a way to add dynamic multiple host to a single play?
--
You received this message because you are
On 23. jan. 2017 18:38, Elliott Barrere wrote:
If you move the playbook you have problem with to the same level as
site.yml, does it work?
Aha! That indeed fixes it. I guess we were relying on some deprecated
functionality that disappeared when we upgraded.
I have now moved
Hello,
I have a question regarding the ansible exit codes.
I run a playbook and I have the following "PLAY RECAP"
10:52:35
PLAY RECAP
*
10:52:35
lnxcls1: ok=0changed=0unreachable=0failed=1
Billie Xu,
Please supply the full error output 'permission denied' can be many things.
FYI, setup does not require root, but if you are root you may get access to
more facts, depending on your OS, distro and configuration.
--
Brian Coca
--
You received this message because you are
Jon,
Don't think that's it. Did my best to check rights and permissions, it
appears that all files can be accessed and variables are being read. See
the below output (with some data removed). You can see connecting via
winrm, sending powershell script, and then attempting to run powershell
On 23.01.17 20:00 Nick Couchman wrote:
> I can't quite figure out how, in a playbook, to loop through in
> such a way that I'm looking at each of the entries in
> ansible_devices (sda, sdb, sdc), then each of the holders entries
> there (empty in the above example), then each of the partitions
>
On 23.01.17 18:12 MarkD wrote:
> Nothing happens, what am I doing wrong?
As my crystal ball is in repair, why don't you show us the complete
task and the actual error output? It's hard to guess otherwise...
Johannes
--
You received this message because you are subscribed to the Google Groups
On 23.01.17 20:18 Billie XU wrote:
> ansible master -i hosts -m setup
This line does not tell ansible to use sudo to get elevated rights, so
it is run as the normal user ansible logs in with.
Try to add "-b" (if you dont require a sudo password) or "-b -K" to
your command.
Although I do not
On 24.01.17 09:40 raphael.baud...@tessares.net wrote:
> with the included cookbook:
cookbook is chef, ansible uses playbooks ;-)
I think there is an error in your dest, you use double curly braces
inside of double curly braces:
template:
src: templates/{{item[1]}}
dest: /etc/{{item[1] |
Hi,
I have a couple of ideas:
1/ There's a pull request to add a module that can run psexec, which might
be something you could use,
here: https://github.com/ansible/ansible/pull/20141 If you can give that a
try and leave some feedback it would help get it added into forthcoming
ansible
Hello,
I tried this:
- include: lib/copy_config_files.yml
with_nested:
- "{{ instances }} "
- [ "config_X.yml", "config_X.env", "log_X.conf" ]
with the included cookbook:
- name: "Copy configs"
template: src=templates/{{item[1]}} dest=/etc/{{item[1] |
32 matches
Mail list logo