I'd like to know how I can get a playbook callback hook that tells me when
a task has first been dispatched to a specific host.
I have already hooked into the callback modules for every event, but none
of the events indicates that a task was dispatched to a particular host.
I'm only allowed
ansible-playbook 2.0.0 (devel 6154ed1dda) last updated 2015/08/28 22:28:56
(GMT -400)
lib/ansible/modules/core: (detached HEAD 66288d48a2) last updated
2015/08/28 22:28:59 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 8d8f1c510d) last updated
2015/08/28 22:29:01 (GMT -400)
config file =
I was setting up 2 test machines and getting the error below. Any
ideas/suggestions?
I tried reading the error below, but can't figure out the error.
ESTABLISH SSH CONNECTION FOR USER: root
EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s
-o ControlPath="/tmp/ansible-ssh-%h-%p
what is qt5 doing? does altering the order change the results?
On Fri, Aug 28, 2015 at 8:36 PM, Michael Legleux wrote:
> Here is what I'm trying with ansible 2.0.0 (dev from earlier this week)
> ---
> - hosts: ubuntu
> gather_facts: true
> sudo: true
> tasks:
> - include: base.yml
> - i
Hi Guys,
I have a specific problem: I have an application I need to deploy to two
group of servers: staging and production (there are some multiple
machines). The problem is that I load only one inventory at the time
(hosts/staging or hosts/production), but I need to build release
application
Here is what I'm trying with ansible 2.0.0 (dev from earlier this week)
---
- hosts: ubuntu
gather_facts: true
sudo: true
tasks:
- include: base.yml
- include: qt5.yml
- include: wx.yml
- include: resources.yml
I run this playbook and it stops after qt5 with no errors.If I comment
I managed to fix this with these two tasks:
- name: Find the path to the python interpreter
command: which python
register: pythonpath
when: lookup('env', 'CI') == "true"
- name: Set python interpreter path when in CI
set_fact: ansible_python_interpreter={{ pythonpath.stdout }
AnsibleFest returns to San Francisco on November 19th, 2015.
We're currently running both a Call For Papers (longer talks) and a Call for
Projects (short features). The CFPs are open until September 15th, and we
will notify all speakers by September 25th.
If you're interested in attending or spea
Yeah - if you're v3 passing in domain is important. When you add
user_domain_id and project_domain_id - what error do you get? (you have to
pass in both)
On Friday, August 28, 2015 at 12:19:16 AM UTC-7, Antoine Voiry wrote:
>
> All,
> I am facing something strange with the OS_SERVER module.
> Al
Hi Jeremy and Brian,
I'm looking into a similar set up however, what we'd like to do is have a
repo per Ansible Role (eg apache, php, tomcat, java) so we can be working
on different roles at the same time without git conflicts being thrown at
us. Right now what we have is one repo with all of o
I'm looking for a way to manage different versions of Ansible roles that I
am writing when deploying applications. For instance if one application
needs v1 of an Ansible role I wrote and another application needs v2 of an
Ansible role, is there a tool like puppet librarian or R10K that I can use
not that fancy and no support for non default port, you could do something
similar with bash:
# function ansible-ssh { ssh $(ansible -m debug -a "msg={{ ansible_ssh_user
}}@{{ ansible_ssh_host }}" $1 | grep msg |awk -F\" '{print $4}');}
# export -f ansible-ssh
# ansible-ssh
esco
--
You rece
If it fails for you again, give us some more specific info and we'll dig in.
--g
On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato wrote:
> when we tried that it did not appear to work. Ill give it another try.
>
> Thanks for the reply.
> ~Emilio
>
> On Friday, August 28, 2015 at 10:57:37 AM UT
when we tried that it did not appear to work. Ill give it another try.
Thanks for the reply.
~Emilio
On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg wrote:
>
> A quote from someone smarter than me:
>
> "It's using urllib/httplib so setting the http{s}_proxy environment
> var
A quote from someone smarter than me:
"It's using urllib/httplib so setting the http{s}_proxy environment
variable should have it use the proxy."
(Hint: the person is jimi-c.)
--g
On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato wrote:
> Apologies if this has been covered somewhere and I miss
That happens automatically when running on OS X:
https://github.com/ansible/ansible-modules-core/blob/devel/system/user.py#L249
https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L224
--
Brian Coca
--
You received this message because you are subscribed to the Goo
J Hawkesworth googlemail.com> writes:
>
>
> HeyIf you are using ansible from a source (git checkout) then just do
what the message says and rungit submodule update --init --recursiveThis
will then pick up the modules (which are stored in git submodules) and you
should be good to go.Hope that
At 2015-08-20 11:08:50 +0530, a...@2ndquadrant.com wrote:
>
> I'll put ansible-ssh in a repository on Github sometime.
https://github.com/2ndQuadrant/ansible-ssh
Feedback welcome.
-- Abhijit
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
Hello Group,
is it possible to pin all the transitive dependencies of the roles I use to
specific versions?
I want to make sure that no part of my automation code changes behind my
back.
For example in Chef this is possible by using a Cheffile.lock or
Berksfile.lock
file for the dependency man
Hey, I still face the same problem...
Even if I make the adjustments on the ec2.ini file as:
https://gist.github.com/zerOnepal/83b66faf52f4d2b7b1a7/revisions
and run
./ec2.py --list
:( my stopped servers are not getting listed... I tried cleaning the ansible
cache... still no luck
I am tr
Hey
If you are using ansible from a source (git checkout) then just do what
the message says and run
git submodule update --init --recursive
This will then pick up the modules (which are stored in git submodules) and
you should be good to go.
Hope that helps,
Jon
On Wednesday, August 26, 2
All,
I am facing something strange with the OS_SERVER module.
Also I was not able to specify the domain in auth.
Below is the code snipet
- os_server:
state: present
auth:
auth_url: https:///v3.0/
username:
password:
project_name:
22 matches
Mail list logo