receiving emails from it, send an
email to ansible-project+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
You received
to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ansible-project+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software
.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
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
-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com
. This work will start at 9 EST, after
which we'll send out a follow-up email with a more definitive list of fixed
issues.
Thanks!
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
You received this message because you
Just a reminder, maintenance will be starting at 9PM EST.
Thanks!
On Thu, Jan 9, 2014 at 8:11 PM, James Cammarata jcammar...@ansibleworks.com
wrote:
Hey all, just a quick Galaxy update.
First and foremost, Google+ signups are now working. If you continue to
have any problems please let us
/2014/01/15/ssh-connection-upgrades-coming-in-ansible-1-5/
Once again, thanks to Jerome for his incredible work here, and please let
us know if you run into any issues with the new connections.
Thanks!
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http
...@ansibleworks.comwrote:
Thanks James
Quick update for clarification, we plan to remove the _old before launch
of 1.5.
So, it's there in case anyone yells before we can fix anything should
those happen, basically :)
On Wed, Jan 15, 2014 at 5:11 PM, James Cammarata
jcammar
.
For more options, visit https://groups.google.com/groups/opt_out.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
James Cammarata jcammar
any questions!
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop receiving emails
Yes, we have an internal ticket for that, however it will won't be included
in this update.
On Thu, Jan 23, 2014 at 3:57 PM, Serge van Ginderachter
se...@vanginderachter.be wrote:
On 23 January 2014 22:50, James Cammarata jcammar...@ansibleworks.comwrote:
Thanks, and let us know if you
Maintenance is starting now.
On Thu, Jan 23, 2014 at 3:50 PM, James Cammarata
jcammar...@ansibleworks.com wrote:
Hi all, we're going to be pushing out some more updates for Galaxy
tomorrow night, so the site will be unavailable for a short time starting
at 9PM EST. Once the maintenance
import failures.
Let us know if you run into any problems with these new fixes.
Thanks!
On Fri, Jan 24, 2014 at 8:00 PM, James Cammarata
jcammar...@ansibleworks.com wrote:
Maintenance is starting now.
On Thu, Jan 23, 2014 at 3:50 PM, James Cammarata
jcammar...@ansibleworks.com wrote:
Hi
.
--
James Cammarata jcammar...@ansibleworks.com
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/
--
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
If they're common to all of the roles you're writing, best to make the
common part a role of its own and use the dependency system we have in
place. Just be sure that when you're listing the deps, that you do so in
the username.rolename format so that galaxy will properly link them as
dependencies
Stan, we are not keeping the core/Tower versions in sync, it's mainly been
coincidental that it's worked out that way so far. That said, we will
probably be releasing an Ansible 1.4.5 in the near future, to address one
reported bug.
If you have any further questions, let us know.
Thanks!
On
Ansible 1.4.5 is now available, and addresses a local security issue
involving fireball/accelerate keys, where those keys (and the directory
containing them) might be created with permissions that were too open if
the system had a permissive umask set by default. This issue affects
controlling
Yes, we can get this included in the next release.
On Wed, Feb 12, 2014 at 5:49 PM, James Martin jmar...@basho.com wrote:
I spent a fair amount of time writing up documentation for my role(s),
only to find that Galaxy doesn't like Markdown's table syntax.
For example this is how it looks on
Are you using sudo to execute this? In that case, you may be hitting this
bug:
https://github.com/ansible/ansible/issues/5533
There are pull-requests open to address this, which I will be looking to
test today.
On Thu, Feb 13, 2014 at 1:00 PM, William Hall-BrandFour
w...@brandfour.comwrote:
Nope, just make sure that you use the ec2 common code to handle things like
the authentication tokens/etc. and you should be fine. Just send us the
pull request when it's ready.
On Thu, Feb 20, 2014 at 3:21 PM, Alexander Popov
alexanderpop...@gmail.comwrote:
I am developing ec2_emr module to
checksum.
On Thu, Oct 24, 2013 at 6:10 PM, James Cammarata
jcamm...@ansibleworks.com wrote:
Can you share what the error your receiving back is?
On Thu, Oct 24, 2013 at 2:39 AM, Ben Hood 0x6e...@gmail.com wrote:
Hi,
I'm having an issue with the s3 module in ansible 1.3.3:
Files
.
On Mon, Feb 24, 2014 at 11:44 PM, James Cammarata jcammar...@ansible.comwrote:
I don't believe so, however you might try the workaround suggested in this
github issue:
https://github.com/ansible/ansible/issues/5442
On Mon, Feb 24, 2014 at 5:04 PM, Chris Rimondi chris.rimo...@gmail.comwrote
This is a bug, the action_plugin version (which runs locally) doesn't
accept the regexp parameter. Could you please open a github issue for this?
Thanks!
On Mon, Mar 10, 2014 at 5:36 AM, Marco Corte marcoc...@gmail.com wrote:
If I run this playbook against, say, the host pgli10-nm, it exits
Really though, this seems like your mysqluser/mysqlpassword variables are
incorrect, or the user you're connecting as does not have the proper GRANT
permissions to add/edit the user.
Can you run other actions with that user/passord?
On Fri, Mar 14, 2014 at 9:58 AM, James Cammarata jcammar
)
File /usr/lib/python2.7/dist-packages/MySQLdb/connections.py, line 36,
in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1396, Operation CREATE USER failed
for 'test'@'localhost')
On Monday, February 17, 2014 4:11:42 PM UTC, James Cammarata wrote
that the file might be local and
sure enough it was.
Did I miss the part where the file lookup works on local files and not
remote files?
On Friday, March 14, 2014 3:01:48 PM UTC, James Cammarata wrote:
Really though, this seems like your mysqluser/mysqlpassword variables are
incorrect
What was the last official release that worked for you? Also, are there any
other ansible.cfg settings you've changed from their defaults?
On Thu, Mar 20, 2014 at 10:11 AM, Makimoto Marakatti makim...@gmail.comwrote:
By the way, I did forget to mention that I tried to give a passwordless
sudo
Thanks, we'll definitely look at adding these.
On Thu, Mar 27, 2014 at 6:06 PM, ra...@future500.nl wrote:
Hey all,
I've been adding some roles to galaxy, and I'd like to request some
features:
- I would like to have the roles sorted by alphabet and/or add date on the
my roles page
- I
Hi Simon, could you open an issue for this on github? Thanks!
On Mon, Mar 31, 2014 at 12:57 PM, Simon Green simonjgr...@me.com wrote:
rsync 3.1.0 on Ubuntu 14.04 has a bug that causes an error when coming
from rsync 3.0.9 (common on all versions of Ubuntu prior to 14.04)
--
You received
What is the path to your module? Also, have you checked out
http://docs.ansible.com/developing_modules.html to see that your following
our instructions for custom module development?
On Fri, Mar 28, 2014 at 6:53 AM, Jason Edelman jedelm...@gmail.com wrote:
Hi All,
I keep getting an
If I understand correctly, you're copying the contents of several
directories to a central location, removing the old path, and then creating
a symlink to the new location? To do that with ansible you'd just need to
call the synchronize module to copy the files (or use command/shell to do
the
You should use the wait=yes (or wait: yes in the form you've specified
above) option to tell Ansible to wait until the VPC is in the available
state before returning.
On Wed, Apr 2, 2014 at 4:49 AM, Chinmaya Patanaik
patanaikchinm...@gmail.com wrote:
Hi,
I created a vpc using ec2_vpc
The YAML parser may be reading the '' as the line continuation character,
so you may need to wrap that in quotes:
- { role: test_roleversion, when: ansible_local.apache.version is not
defined or module.version ansible_local.apache.version }
On Thu, Apr 3, 2014 at 9:29 AM, Marcin Prączko
This issue was reported the other day and has been fixed in the devel
branch:
https://github.com/ansible/ansible/issues/6832
You can grab that patch for now if you'd like (
https://github.com/ansible/ansible/commit/9c6dd9f79c6fbed3346b951fc280f30cb6d676ae),
which will be included in the next
There will be a small maintenance window tonight for Galaxy starting at
10PM EDT to deploy a few bug fixes and the following two major items:
1) All roles starting with ansible-(role-) will be renamed so they no
longer contain that string. Also, moving forward, any roles that are
created will
The maintenance has been completed, please let us know if you experience
any issues.
Thanks!
On Fri, Apr 4, 2014 at 4:30 PM, James Cammarata jcammar...@ansible.comwrote:
There will be a small maintenance window tonight for Galaxy starting at
10PM EDT to deploy a few bug fixes
I'm not quite able to reproduce that on 1.5.4, could you share a small
playbook/role that reproduces the issue for you?
On Fri, Apr 4, 2014 at 12:01 PM, r...@ytechnologies.nl wrote:
In my main playbooks I define a global variable named dns_type, used in
multiple roles. It's simply defined
There are a couple of options you could use here. First, you could deploy a
custom fact that would give you the CIDR value. Second, you could write a
custom jinja2 filter that would accept a netmask (for example,
ansible_eth0.ipv4.netmask) and convert that to a CIDR value.
On Fri, Apr 4, 2014 at
Do you have selinux enforcing?
On Tue, Apr 8, 2014 at 5:13 AM, Makimoto Marakatti makim...@gmail.comwrote:
Hi all
I'm having a weird issue that I can't figure out:
I'm making a backup of /etc/sudoers from client boxes, before templating.
ansible complains it has no rights to read
not play ball and straight ssh does.
Any help appreciated.
On Tuesday, 8 April 2014 15:21:01 UTC+1, James Cammarata wrote:
Do you have selinux enforcing?
On Tue, Apr 8, 2014 at 5:13 AM, Makimoto Marakatti maki...@gmail.comwrote:
Hi all
I'm having a weird issue that I can't figure out
This appears to be a mistake in the documentation, as the export option was
actually added in the devel (1.6) branch. I will get that corrected now,
thanks for catching it!
On Mon, Apr 7, 2014 at 12:55 PM, Slim Slam slimands...@gmail.com wrote:
Using Ansible v1.5.4, I'm trying to do a simple
Is there any chance you could try this with the 1.5.4 release, or with the
most up to date devel branch to see if it's still an issue? If so, please
open an issue on github so we can keep track of it.
Thanks!
On Mon, Apr 7, 2014 at 2:42 PM, chris d chrisd1...@gmail.com wrote:
hi everyone,
This looks like it's actually an issue with your indentation and YAML
syntax. Your line should be as follows:
- name: Pull file from ansible server
copy: src=/tmp/{{ freeipaserver_ip }}/var/lib/ipa/replica-info-{{
ansible_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible_hostname
}}.gpg
Could you do an md5sum on the module? It should be located
at /usr/share/ansible/packaging/apt and should match the following:
$ md5sum /usr/share/ansible/packaging/apt
7b3796da213ba4a5affab8413e7579d2 /usr/share/ansible/packaging/apt
You might also want to grab the module for that release
There is a 'notes:' (which should be an array of strings) section in the
DOCUMENTATION string, but I don't believe we have anything official in the
document generator for that.
On Fri, Apr 18, 2014 at 8:39 AM, Jeremy Schulman nwkautoman...@gmail.comwrote:
Hi Team,
I am writing modules and in
The core ansible code is and will remain GPL3+, however the code in the
modules and the parts that interface with them (the module_utils/*.py
files) are licensed using the BSD license so that all modules written by
the authors is owned by them. If you have any further questions regarding
this,
You might want to look at
http://docs.ansible.com/playbooks_loops.html#looping-over-hashes, where you
could create a dictionary structure like:
my_dbs:
db1:
state: present
db2:
state: absent
And your task could look like this:
- name: add/remove databases
whatever_db_module:
What version of Ansible are you running? There were some changes in 1.5.3+
to address certificate validation issues on Ubuntu systems. Also please
make sure that you have the correct CA package installed (ca-certificates)
and that the /etc/ssl/certs/ directory is present and contains certificates.
Jeremy, I've merged in a patch to address this (
https://github.com/ansible/ansible/commit/4cad488fd12cb9d765cbcf5b2781072dc712),
which essentially catches the warning and prints a nicely formatted warning
to stderr. This error is also only printed once, so the verbose output from
the original
the certificates. In fact, I showed that if I take the
temporary file with CA certificates that Ansible creates and use it with
gnutls-cli then the launchpad.net certificate validates.
Regards,
Joost
Op 29 apr. 2014 02:58 schreef James Cammarata jcammar...@ansible.com:
What version of Ansible
:
The current code does in fact say how to resolve the warning.
On Tue, Apr 29, 2014 at 3:42 PM, Jeremy Schneider
jeremy.s...@ardentperf.com wrote:
On Tue, Apr 29, 2014 at 2:32 PM, James Cammarata jcamm...@ansible.com
wrote:
Jeremy, I've merged in a patch to address this (
https://github.com
If you open a python shell and type the following, what do you get back?
from Crypto.pct_warnings import PowmInsecureWarning
import keyczar.errors as key_errors
from keyczar.keys import AesKey
I did notice yesterday that - depending on how pycrypto and keyczar were
installed, the first line
Handlers are typically more useful in that multiple tasks can trigger them
via the notify: action, so they will only run if the task has changed.
Otherwise, the task will always run and you may bounce services
unnecessarily.
On Thu, May 1, 2014 at 4:00 AM, Andrew Pashkin
If you do the following, does it work as expected?
- name: test vsphere
vsphere_guest:
...
If not, it would seem that you've got some issue with your module path.
On Thu, May 1, 2014 at 12:06 PM, John Shen johnshe...@gmail.com wrote:
$ ansible-playbook vmtest.yml
ERROR: vsphere_guest
What version of ansible are you running? There were some issues in parsing
the stdout of some commands when unicode characters were contained in it,
however that has been fixed in devel for a couple of weeks.
On Thu, May 1, 2014 at 3:37 PM, Andy Ingham andy.ing...@alumni.unc.eduwrote:
This one
The command/shell modules already do this with the creates/removes options.
See the documentation here:
http://docs.ansible.com/command_module.html
On Fri, May 2, 2014 at 1:24 AM, Andrew Pashkin andrew.pash...@gmx.co.ukwrote:
What is the good way to make command run only one time and never
To handle this, I would create a custom fact (
http://docs.ansible.com/playbooks_variables.html#local-facts-facts-d) that
returned whether the current host is in the master state. Then you could
write two tasks as follows:
- name: shut down non-masters
# - whatever method you're using to shut
Just yesterday we merged in a slight change in the way that we're setting
the localization environment and other environment variables. What version
are you running to produce the above output?
On Fri, May 2, 2014 at 1:42 PM, Andrew Pashkin andrew.pash...@gmx.co.ukwrote:
I'm trying to set up
the
[defaults] section. That value will then be used instead of C.
On Fri, May 2, 2014 at 2:11 PM, Andrew Pashkin andrew.pash...@gmx.co.ukwrote:
On 02.05.2014 22:55, James Cammarata wrote:
Just yesterday we merged in a slight change in the way that we're setting
the localization environment
And is available on PyPi now. For full details of the release, including
the major changes we've made (30+ new modules!), please see the
announcement on our blog:
http://www.ansible.com/blog/ansible-1.6-adds-30-new-modules
Enjoy!
-- James
--
You received this message because you are
The name of the current inventory file in use is stored in the
inventory_file variable name, so you could check that. Beyond that, there
are two other options:
1. Use --extra-vars to specify the target environment, for example:
--extra-vars=inventory=qa
2. The group_vars location is based on the
Go ahead and open a github issue for this, and we'll see if we can
reproduce it.
Thanks!
On Tue, May 6, 2014 at 12:43 PM, Stephen John Smoogen smo...@gmail.comwrote:
So we have been running into an issue in our ansible rollout that hasn't
occurred before sometime in mid April. About that
This will not work, since the hosts and roles must be known at the time the
playbook is read, so you can't do variable substitutions on those.
An alternative to this method is to have just the one role that includes
different task files based on the values of the system facts. See
This worked for me:
re.compile(r(?:'dbhost')\s*(?:=)\s*['](.*)['],).match(r'dbhost'
= 'laskdjflkjsdlfkj',).groups()[0]
'laskdjflkjsdlfkj'
It would also match a string with unbalanced quotes like 'foo but it's a
much longer regex to enforce avoid that (at least in my experience, others
may have
I mentioned that to the modules author, and I believe he's working on it,
so keep an eye out for it.
On Fri, May 9, 2014 at 7:15 AM, antony.periga...@polyconseil.fr wrote:
Hello,
I'm happy to read the last changelog with vpshere_guest module but it
missing one feature in this module : We
Thanks, could you please open an issue on github for this issue so we can
keep track of it?
On Fri, May 9, 2014 at 12:47 PM, Ryan Schulze r...@dopefish.de wrote:
Hi,
since the update to ansible 1.6 the script module has been failing with
LC_CTYPE=en_US.UTF-8: Command not found. (which makes
Can you try setting module_lang = en_US.UTF-8 in your ansible.cfg to see
if that corrects the issue?
On Mon, May 12, 2014 at 2:30 PM, Joel Sdc sdc.j...@gmail.com wrote:
Hi,
I'm having a little problem. When I run a simple playbook, on some servers
I get a UnicodeEncodeError and the playbook
I would recommend using a dynamic inventory script that would provide the
information, assuming it can be found via some local command or API?
On Mon, May 12, 2014 at 6:15 PM, Noah Parker neat...@gmail.com wrote:
Hello,
The way I am implementing Ansible will mean that I will not know the IP
Using set_fact should still achieve the same effect, you're using that
variable over multiple plays with differing sets of hosts?
On Thu, May 15, 2014 at 7:37 AM, 'Petros Moisiadis' via Ansible Project
ansible-project@googlegroups.com wrote:
Is there any way to change a global variable (e.g.
Does escaping the . in the interface name work? If not, you can always
revert back to regular python dictionary syntax, for example (from my
system):
- hosts: localhost
tasks:
- debug:
msg='{{hostvars[inventory_hostname][ansible_virbr0].ipv4.address}}'
Outputs:
TASK: [debug
It might be useful, if you're interested in writing/contributing something
like that we'd definitely consider it.
Thanks!
On Thu, May 15, 2014 at 9:27 AM, 'Petros Moisiadis' via Ansible Project
ansible-project@googlegroups.com wrote:
On 05/15/14 16:17, James Cammarata wrote:
Using
What version of Ansible are you running?
On Thu, May 15, 2014 at 9:31 AM, Ammar Hassan contactam...@gmail.comwrote:
Hi all,
I am new to ansible and stuck with a tricky situation. In my ansible
playbooks/tasks I am copying over a bunch of files to a remote machine with
SUDO. I get the
I believe you could just register the results of the user add step and then
iterate over that:
- name: Create User
user: ...
register: created_users
with_items: add_users
tags:
- users
- name: Force new user to change password at next login
command: chage -d 0 {{ item }}
when:
You cannot specify multiple user entries under the one name. You need to
modify it to do the following:
- name: add user1
user: ...
- name: add user2
user: ...
etc.
On Thu, May 15, 2014 at 10:18 AM, br...@antsmarching.net wrote:
I am using ansible 1.5.5. The server/clients are centos
You can use the mysql_user module for this, see the examples in
http://docs.ansible.com/mysql_user_module.html
Specifically, you'll want something like this example:
# Creates database user 'bob' and password '12345' with all database
privileges and 'WITH GRANT OPTION'
- mysql_user: name=bob
The c for --step means to continue, and will stop stepping. Feel free
to open a github issue for us to update the docs regarding this option.
Thanks!
On Fri, May 16, 2014 at 11:37 AM, Petr Sukharev st.ing...@gmail.com wrote:
Hello!
Simple question - does letter c in --step mode means cancel
Yes I did mean transport = ssh, sorry for the confusion there.
On Fri, May 16, 2014 at 9:43 AM, Adam Morris zwack...@gmail.com wrote:
On Friday, May 16, 2014 6:24:55 AM UTC-7, James Cammarata wrote:
You can make this permanent by changing the transport = setting in
your ansible.cfg
The host parameter for that module controls the host portion of the user
login information. So you should set host=* to allow connections from any
remote host.
On Fri, May 16, 2014 at 3:27 PM, Wynne Pirini wynnepir...@gmail.com wrote:
Here's the command I'm sending:
- name: Create/assign
Yes, in the source tar (or from github) there
is plugins/inventory/spacewalk.py.
On Mon, May 19, 2014 at 6:02 AM, Tracy Phillips tracp...@weberize.comwrote:
On Wednesday, May 22, 2013 9:21:43 AM UTC-4, Michael DeHaan wrote:
I just merged a pull request for an Ansible inventory source.
. I don't want this
condition to trigger a failure. It's more like next or continue
in most programming languages. I know ansible is not a full language,
but it already has lots of flow control capabilities I was just
wondering if it had this one too.
On Mon, May 19, 2014 at 3:47 PM, James
There is no way to specify the callback via a playbook. To use them, you
must use the Ansible API directly. Callbacks are used in the ansible and
ansible-playbook system scripts, if you want to see how they're used there.
Any further questions regarding using the API are best sent to the
For simple testing, you can use the -i host, syntax (don't forget the
comma at the end, it is required). This should only be used for testing
purposes, we always recommend you use some sort of inventory file or
dynamic inventory script for regular use.
On Mon, May 19, 2014 at 9:28 PM, Roger Qiu
You control which roles are installed on your system, so that is really a
matter of personal preference. If you use the ansible-galaxy tool to
install roles from galaxy.ansible.com, you can specify both the version of
the role (if the author is using versions) as well as the directory to save
the
Where in the playbook are you specifying the vault file? Is it in
vars_files or somewhere else?
On Wed, May 21, 2014 at 8:54 AM, Derptacos devon.r...@gmail.com wrote:
I have a playbook that requires a value from a vault - but I am
consistently running into issues regarding the existence of
You should not need to specify those extra ssh_args if you're using the ssh
transport and your system supports ControlPersist. Can you gist/pastebin
the output of a test run using -v to see any additional SSH debugging
information available?
On Wed, May 21, 2014 at 12:20 AM, Greg Hurrell
Inventory variables are resolved after roles are read in, so yes moving the
vault file to the vars_files section is the correct placement.
On Wed, May 21, 2014 at 9:16 AM, Derptacos devon.r...@gmail.com wrote:
The file is in group_vars
On Wednesday, 21 May 2014 10:10:03 UTC-4, James
Have you tried using the synchronize module for this? Since it's a wrapper
around rsync, you should be able to use it to transfer files from one
remote host to another.
On Wed, May 21, 2014 at 1:29 PM, Michael Peters
michael00pet...@gmail.comwrote:
I also tried using a copy with a delegate_to
What version of ansible are you running? Version 1.6 should include a fix
for this.
On Wed, May 21, 2014 at 2:48 PM, Ryan Stewart zzant...@gmail.com wrote:
I'm running a playbook where remote_user is root, and on some tasks, I use
sudo: yes with sudo_user: jenkins to do some per-user setup.
I have not heard anything regarding one, but we're always open to new
contributions. It does appear the Microsoft has a python API library on
PyPI: https://pypi.python.org/pypi/azure/0.8.0 which is Apache-licensed, so
using that should be no problem. Let us know if you or anyone else is
interested
Yes, the AWS/EC2 modules are pretty well used and break the functionality
of different parts of their offering into manageable chunks. Definitely
don't try to cram every feature Azure supports into a single module. The
aws and rax modules also make a good use of the code-reuse functionality we
Hrm yes, that seems to be broken because of a dependency issue. You can try
and install a slightly older version of the ecdsa library first, to see if
that gets you around the issue?
On Thu, May 22, 2014 at 8:16 AM, Mark Maas m...@maas-martin.nl wrote:
Dear All,
I'm unable to install ansible
I believe you'd want to check whether the registered variable (or member of
the variable) is defined, as follows (assuming you registered a variable
named result):
when: 'foo in result and result.foo != something'
This way, you can prevent undefined errors and the task would just be
skipped.
I think what Michael meant was to specify the full path to the sshconfig
file, ie. -F /path/to/mysshconfig instead of a relative path.
On Fri, May 23, 2014 at 11:30 AM, Slim Slam slimands...@gmail.com wrote:
FWIW, I got this idea from *you* :-) - reference:
at 11:47 AM, James Cammarata
jcamm...@ansible.comwrote:
Yes, the AWS/EC2 modules are pretty well used and break the
functionality of different parts of their offering into manageable chunks.
Definitely don't try to cram every feature Azure supports into a single
module. The aws and rax modules
you mean just somewhere else but not in this
class?
Thx
On May 24, 2014 1:23 PM, James Cammarata jcammar...@ansible.com wrote:
You might want to remove the common_argument_spec() function from your
class, as it doesn't really need to be there but beyond that it looks like
a good starting
Another user had opened an issue for a very similar error, however it
turned out to be something in their environment. My suggestion to them was
to compare the output of getent passwd username before and after a run
to see what it might be changing each time. Beyond that, it might be
something
I'm unclear why you can't do this? Is it failing with an error or some
other problem?
On Tue, May 27, 2014 at 4:43 PM, Alex King a...@king.net.nz wrote:
Currently I add system users with the following play:
#
# Create system users
#
- name: sys admin users
tags: sys_admin_users
You migh want to use set_fact on the hosts, when the dict is not defined,
to give it some default value instead. As you've noticed, the when clause
is applied to each item in the loop, so it's evaluated after the with_dict
is parsed.
On Tue, May 27, 2014 at 2:25 PM, Heath Henjum
You can simplify that by just using with_items:
vars:
droplets:
- name: consul
count: 5
region: nyc2
region_id: 4
- name: influxdb
count: 3
region: nyc2
region_id: 4
- name: elasticsearch
count: 4
region: nyc2
1 - 100 of 496 matches
Mail list logo