Hello
I'm trying to run a playbook that will login as user ansible and then sudo
to root to make configurations. I have a sudo entry that will allow root
without password. The playbook looks like this:
---
- hosts: 10.53.153.32
remote_user: ansible
become: yes
become_user: root
Try replacing become_user: root with:
become_method: sudo
That may work better.
On Tuesday, November 24, 2015 at 6:34:03 PM UTC-5, Dave Thacker wrote:
>
> Hello
> I'm trying to run a playbook that will login as user ansible and then sudo
> to root to make configurations. I have a sudo entry
Thanks for your reply.
I have updated python six module but still getting same errors,
six - Python 2 and 3 compatibility utilities
INSTALLED: 1.10.0 (latest)
Thanks,
hardik
On Tuesday, November 24, 2015 at 9:16:50 AM UTC-8, David Shrewsbury wrote:
>
> Looks like you
become_user defaults to root, no need to specify, same with become_method: sudo
can you run with - and show the output? also what ansible version?
OSs involved?
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
You can include a copy of the module from 2.x in a library directory
alongside your playbook or in a role (e.g.
https://github.com/cchurch/ansible-role-win-ec2/tree/master/library -- I
renamed the module so it's clear which one I'm using when running with
either 1.9.x or 2.x).
On Tue, Nov 24,
Hi,
since Ansible 2.0 it is possible to deploy directly to a docker container
via connection=docker. Now I want to create a Role which is starting a
Docker container and deploying some stuff to it. Here is an arbitrary
example of my current solution:
- name: create docker container
docker:
the docker connection plugin will only connect to hosts on the ansible
control machine, it is using the local execution tools to access the
docker instance w/o using ssh.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
Thank you for quick reply. Is it possible to pass the -H / --host parameter
to the local docker binary, such that you can specify the socket to talk to
the (remote) Docker daemon (e.g. tcp://myhost:port/path)?
--
You received this message because you are subscribed to the Google Groups
Is there a way to get the Windows password for an EC2 Windows Server in
Ansible 1.9.4 ?
It appears that ec2_win_password only works in Ansible 2.x
J
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop
On Tue, Nov 24, 2015 at 1:01 PM, Tim Rupp wrote:
> Hi all,
>
> I'm part of an organization on github that wants to publish a role to galaxy
> as that organization. My account in linked in galaxy as the account that is
> part of the organization and when I specify the
Thanks for the info Greg. I'll stay on the look-out for this.
Thanks!
tim
On Tue, Nov 24, 2015 at 10:25 AM, Greg DeKoenigsberg
wrote:
> On Tue, Nov 24, 2015 at 1:01 PM, Tim Rupp wrote:
> > Hi all,
> >
> > I'm part of an organization on github that wants
I've been using Ansible for about a year now. It started off relatively
simple to manage, but as more people have started contributing to my
company's Ansible repo we have started to step on each others toes. We
are in the process of splitting out our roles from a central ansible repo
and
Hi,
This was already brought to our attention by several users, it was a
case I had missed when asking for the feature.
For now we are removing the feature for 2.0 and will bring it back in
2.1 with a configurable flag that defaults to the current behavior.
You will see the change in RC2.
--
Hi all,
I'm part of an organization on github that wants to publish a role to
galaxy as that organization. My account in linked in galaxy as the account
that is part of the organization and when I specify the "username" in the
galaxy field, it continues to use my personal account instead of
Looks like you need to upgrade the Python six module.
-Dave
On Tuesday, November 24, 2015 at 9:52:33 AM UTC-5, Hardik Italia wrote:
>
> Hi,
>
> I am trying to create a instance in openstack environment using ansible
> module os_server and getting following errors. Any suggestions?
>
> I
I thought this would be the easiest part of creating a dynamic inventory,
but I'm having a hell of a time connecting:
boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1
handlers were checked. ['HmacAuthV4Handler'] Check your credentials
In my /ansible/development/
Also, for whatever it's worth, I've tried putting the keys in ~/.boto, but
the result is the same.
On Tuesday, November 24, 2015 at 2:03:51 PM UTC-5, Rob Wilkerson wrote:
>
> I thought this would be the easiest part of creating a dynamic inventory,
> but I'm having a hell of a time connecting:
Hi,
I am trying to create a instance in openstack environment using ansible
module os_server and getting following errors. Any suggestions?
I install ansible from the source by following instruction from
http://docs.ansible.com/ansible/intro_installation.html#running-from-source.
Hello!
Is DO module working?
I try to launch droplet with ansible, but faced
"msg: Unable to load DO_CLIENT_ID"
error. But as far as I understand, client_id is from deprecated DO v1 api,
v2 api uses only token.
Could somebody help me?
Alexey
--
You received this message because you are
ansible 2.0 is shipping with a new version of the module that supports
the v2 api
--
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've looked at modules
ec2 create an instance and attach it to an interface_id or add one
private and or one public ip
ec2_eip attach extra public ips
ec2_eni attach extra ethernet interfaces
I'm trying to attach extra private ips (routable within a vpc) to a virtual
eth0:1, eth0:2 to
I ran into that too, it works if you also add "device_type: gp2", the
volume_type is probably for ansible 2.x
--
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
Hello,
We have a question about an Ansible 2 change.
In the V2 changelog, we can see "Now when you delegate an action that
returns ansible_facts, these facts will be applied to the delegated host,
unlike before when they were applied to the current host"
We think it may have a big
I'm working on a system that can run one playbook to launch some number of
EC2 instances for any number of purposes. For example, a development, it
might lauch & provision 2 web servers and 1 search server. In production,
it might be even more specific and launch 2 api servers, 2 dashboard
On Tue, Nov 24, 2015 at 11:03 AM, Rob Wilkerson wrote:
> I'm working on a system that can run one playbook to launch some number of
> EC2 instances for any number of purposes. For example, a development, it
> might lauch & provision 2 web servers and 1 search server. In
25 matches
Mail list logo