Is it possible to define host in inventory in a way that will use local
connection is the name resolves to local address?
Is it worth to add connection=autolocal option?
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from
I'd like to take this back, ssh agent forwarding does work. I have
discovered that it only fails in relation to the git module.
On Tuesday, February 25, 2014 10:16:53 AM UTC, bryan hunt wrote:
My problem was specifically with SSH Agent authentication failing to
propagate to SSH invoked by
I'd like to take this back, ssh agent forwarding does work. I have
discovered that it only fails when used by the git module. Running commands
which use ssh from Ansible does work.
On Wednesday, March 5, 2014 5:11:50 PM UTC, Jeremy Schneider wrote:
On Wed, Mar 5, 2014 at 10:59 AM, bryan hunt
The latest stable version of Ansible is 1.5.3 and contains several months
of changes beyond what is in the 1.4.X line.
If you see problems after trying this on 1.5.3 or the development branch
head please file a ticket.
Thanks!
On Thu, Mar 27, 2014 at 10:06 PM, C. S. cov...@yahoo.com wrote:
We would not be taking a pull request for a new connection option.
However, if you want to make sure the localhost if in the host file is
always local:
localhost ansible_connection=local
(*Further*, Ansible now has implicit localhost capabilities so localhost
doesn't have to be in inventory in
Hello
I want to reboot my server and continue with other instructions. My code is:
- name: reboot
command: reboot
notify:
- wait until rebooted
- name: wait until rebooted
local_action: wait_for host={{ansible_fqdn}} port=22 state=started delay=
30
sudo: false
After execution I get
If the server is taking a longer than the default timeout value, increase
that value. Default is 300 seconds, might need to increase that.
http://docs.ansible.com/wait_for_module.html
Or there could be a connectivity issue. Is it listening on port 22? Does
FQDN name resolution work?
On
The server reboots very quickly (10-15 seconds), so timeout is not the
issue.
However the problem might be the FQDN name. I used it because I found it in
some Ansible snippet.
Which variable should I place there in order to get current host rebooted?
(in my case it would be xxx)
My hosts
It worked with inventory_hostname, however after reboot the playbook
execution ends with PLAY RECAP (ok=8, changed=2...).
What can I do to make it execute the rest of the tasks?
If I remove the task to reboot, it all goes well.
W dniu piątek, 28 marca 2014 16:53:42 UTC+1 użytkownik Brian Green
What entry is in your inventory host file? Is it IP address, short
hostname, fqdn?
The following variables are valid in your playbook, and the 'right' one
depends on your environment.
ansible_fqdn, ansible_hostname, inventory_hostname, inventory_hostname_short
The ansible_fqdn and
I'm curious about what kind of setups are out there for Ansible Tower.
Does anyone have a non-prod Ansible Tower and a prod Ansible Tower? Would
you recommend or advise against it?
I was thinking this might be a good idea in our setup because:
- we have restrictions with network control
Hi Melissa,
This is the list for the core project. If you have tower questions, can
we please suggest posting to supp...@ansible.com?
Thank you!
On Fri, Mar 28, 2014 at 6:34 PM, Melissa Tan m...@white-box.co wrote:
I'm curious about what kind of setups are out there for Ansible Tower.
On Fri, Mar 28, 2014 at 4:37 PM, Michael DeHaan mich...@ansible.com wrote:
We would not be taking a pull request for a new connection option.
However, if you want to make sure the localhost if in the host file is
always local:
No. I want to make connection to host yetanothernode local only if
13 matches
Mail list logo