On Wednesday, September 2, 2015 at 4:08:30 PM UTC-5, Michael Legleux wrote:
>
> This configuration works fine with 1.9.2 though.
>
>
- output shows what?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group an
Not a lot to go on... I do see that the two errors are happening in
different places. That might be bad news for you as may mean that any
fix for 1.9.3 might not be the fix needed for 1.7.2. But let's see
what we can find:
On Wed, Sep 2, 2015 at 3:41 PM, Eugene Romero wrote:
>
> TASK: [syslog-
it is a YAMLism, allows for multiline content, you may have also seen
| used the same way.
On Wed, Sep 2, 2015 at 6:25 PM, wrote:
> I am going through a playbook, where the tasks have the following format:
>
>
> - name: Start and add that the metadata service to the init sequence
> (Ubuntu)
>
>
I am going through a playbook, where the tasks have the following format:
- name: Start and add that the metadata service to the init sequence
(Ubuntu)
service: >
name=ceph-mds
state=started
enabled=yes
args="id={{ ansible_hostname }}"
when: ansible_distribution == "Ubu
Hey Toshio! Thanks for your reply.
Since these are production machines, I can only use 1.7.2 at the moment.
However, I installed the newest ppa version (1.9.2) on a VM cluster to test.
The error stills pops up. The error happens when it tries running the first
task from the second playbook. Howe
The error is within my original msg. I was using the when to build my deploy
list.
--
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.
Hello Brian,
Thanks for the email. So there is no way to skip the inclusion of the file
in the first place?
Best Regards,
On Wed, Sep 2, 2015 at 8:42 PM Brian Coca wrote:
> The when conditions will not avoid issues with a undefined or
> incorrectly typed var in a with_ , as they get executed
The 404 I believe comes from ansible defaulting to the v2 for glance, in which
case no images are found and thus the 404 error. Our openstack only has v1
support.
When I run glance image-list with the OS_IMAGE_API_VERSION=1 the command line
tools show images.
This is the new behavior change in
I will try tomorroz
On Friday, August 28, 2015 at 10:09:40 PM UTC+1, Monty Taylor wrote:
>
> 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
This configuration works fine with 1.9.2 though.
On Tuesday, September 1, 2015 at 5:54:09 PM UTC-7, Michael Legleux wrote:
>
> So what I posted before was a simplification to do everything separately.
> Initially, I had a role whose main.yml task includes qt.yml and wx.yml
> (which are next to ma
The when conditions will not avoid issues with a undefined or
incorrectly typed var in a with_ , as they get executed for each item
inside the with_.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this
Same problem here. No relevant output or error, but slave is not promoted.
We use Ansible 1.9.2 and Boto 2.37.0.
Should a Github issue be opened?
On Tuesday, June 23, 2015 at 12:07:28 PM UTC-5, Sena Heydari wrote:
>
> The role play:
>
> - name: Promote Read-Replica to New Standalone RDS Instance
>
I haven't looked at the code yet to see if there's something about
accelerate that may interfere with ansible_python_interpreter but I
have a feeling that you might not get any speedup even if you get it
working. accelerate was written before openssh's controlpersist was
widespread. Now that even
it would help to see the error, I'm going to guess you need a when: on
the last task that skips the 'skipped' items., also you should not
need to sudo in shell.
On Wed, Sep 2, 2015 at 3:04 PM, Samnang Sen wrote:
> I store the modules I need to deploy within Consul. It consist of both Perl
> and P
Yes.
> On Sep 2, 2015, at 12:03 PM, Greg DeKoenigsberg wrote:
>
> So this is specifically in the os_ modules, right?
>
> --g
>
>> On Wed, Sep 2, 2015 at 2:34 PM, V Benincosa wrote:
>>
>> well, that was the wrong way to go. Shade reinstalled version
>> python-glanceclient 1.0.0 so I guess
There have been sporadic UnicodeErrors that crop up from time to time.
I've been trying squash them as they come up. 1.7.2 is pretty old so
it won't have a lot of those fixes. Are you able to test (at least
the failing task) on a newer version of ansible? That would tell you
if the problem has b
Le mercredi 2 septembre 2015 14:34:02 UTC+2, Brian Coca a écrit :
>
> hostvars are not usable in 'hosts:' clause, use group_by if you want
> to create adhoc groups for use in subsequent plays.
>
>
thanks, thought I discovered delegate_to which seems to be exacly what I
need, i.e. a playbook on
I've successfully launched servers with os_server as of today, with the
latest version of shade, so I don't think the module is completely broken.
I do see that a 404 is being returned in your error, which is a "page not
found" status code (https://en.wikipedia.org/wiki/HTTP_404). My guess is
I store the modules I need to deploy within Consul. It consist of both Perl
and PHP modules so on our web servers I only want to install the modules
associated with PHP. The following playbook works as long as there are TWO
matching modules. In my test case I have two keys with one of them being
So this is specifically in the os_ modules, right?
--g
On Wed, Sep 2, 2015 at 2:34 PM, V Benincosa wrote:
>
> well, that was the wrong way to go. Shade reinstalled version
> python-glanceclient 1.0.0 so I guess I need to figure out why glance doesn't
> return any images. Metacloud uses icehouse
Running: export OS_IMAGE_API_VERSION=1 (and placing in .bash_profile) will
now make glance image-list show something... but ansible still gets the
same error.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
Hello Guys,
This has been probably solved before so apologies if this is a repeat. I
was confused about tasks in a include file being run even though the
condition for the include itself is not true.
so in my main.yml I have an include system like a switch kind of logique:
say
- include: this.ym
well, that was the wrong way to go. Shade reinstalled version
python-glanceclient 1.0.0 so I guess I need to figure out why glance
doesn't return any images. Metacloud uses icehouse.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To uns
I downgraded python-glanceclient to 0.19.0 and it seems to get past that
error. Now I get:
failed: [localhost] => (item=lab01) => {"extra_data": null, "failed": true,
"item": "lab01", "msg": "Error fetching image list: Expected endpoint"}
So it looks like I'll have to downgrade most of my pyth
Hi!
Checking out the 2.0 release and having some problems launching machine.
When I run:
ansible-playbook lab-machines.yml
- name: Ensure lab machines are up
connection: local
hosts: localhost
vars_files:
- vars/metacloud_vars.yml
tasks:
- name: Ensure lab machines are up
I'm trying to use the extras module win_updates to update my Windows
servers. The play runs without failure, but no updates are applied.
Ideally, I want the install all available updates (e.g. critical,
important, optional, etc.). I've created a play to look like this:
---
- hosts: windows
I haven't received a response on this, but since I posted it, the
various variable precedence bugs I've reported have continued to
reappear and disappear through successive commits. Usually when one is
fixed, another is broken. One issue [1] was even closed as a
"misunderstanding" (despite the
Not as much 'changed' as 'yet to be implemented'.
--
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 ansible-project+unsubscr...@googlegroups.
su_flags worked before, why it was changed?
trešdiena, 2015. gada 2. septembris 17:02:22 UTC+2, Brian Coca rakstīja:
>
> They currently only work for sudo
>
>
> --
> Brian Coca
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscr
They currently only work for sudo
--
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 ansible-project+unsubscr...@googlegroups.com.
To post to th
I just noticed that su_flags and become_flags settings are ignored.
Edgars
trešdiena, 2015. gada 2. septembris 12:02:39 UTC+2, Edgars rakstīja:
>
> Hi
>
> I just pulled latest ansible from git and installed it. And it seems that
> su_exe functionality is not working anymore. Regardless of what
@Greg the problem was solved earlier this morning (EDT), the site was
unavailable for a time.
--
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
Confirmed
trešdiena, 2015. gada 2. septembris 15:52:02 UTC+2, Brian Coca rakstīja:
>
> just fixed become_exe also
>
> On Wed, Sep 2, 2015 at 9:43 AM, Edgars >
> wrote:
> > Thanks, it works now with su_exe but still does not work with
> become_exe.
> > But I am not sure if it supposed to be wo
Not seeing this... any details? From the web UI or the client? Is it
still happening?
On Wed, Sep 2, 2015 at 6:03 AM, Cenk Çetinkaya wrote:
> Error message is ERR_TOO_MANY_REDIRECTS on chrome. ansibel-galaxy install
> command gives error that message is "the API server (galaxy.ansible.com) is
> n
Hi Mauricio, we actually just ran into this with another user this morning.
It appears that the code we have to read in the README.md files does not
like Unicode, so the workaround currently is to remove non-ascii characters
from it. We'll have a fix in for this in the next release. Sorry for the
i
just fixed become_exe also
On Wed, Sep 2, 2015 at 9:43 AM, Edgars wrote:
> Thanks, it works now with su_exe but still does not work with become_exe.
> But I am not sure if it supposed to be working with become_exe.
>
> Edgar
>
> trešdiena, 2015. gada 2. septembris 12:02:39 UTC+2, Edgars rakstīja:
Thanks, it works now with su_exe but still does not work with become_exe.
But I am not sure if it supposed to be working with become_exe.
Edgar
trešdiena, 2015. gada 2. septembris 12:02:39 UTC+2, Edgars rakstīja:
>
> Hi
>
> I just pulled latest ansible from git and installed it. And it seems tha
I just fixed this, pull latest and try again.
--
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 ansible-project+unsubscr...@googlegroups.com.
To
gvim never saves changes to files in vault. vim does just fine. just
putting this here for google to find before someone else wastes
$i_wont_admit time on it. dont have time to do the right thing and figure
out why.
--
You received this message because you are subscribed to the Google Groups
We'll look into it.
On Sep 2, 2015 8:24 AM, "Mauricio Sánchez" wrote:
> I'm trying to import/update my roles hosted on Github but Ansible Galaxy
> says:
>
> FAILED:
> Failed to find a README.md. All role repositories must include a
> README.md. Please refer to the 'Getting Started' documentation
May be worth a new note in our docs.
On Sep 2, 2015 8:54 AM, "pixel fairy" wrote:
> yup, the default pip was 3. dont know how that changed.
>
> On Wednesday, September 2, 2015 at 5:50:15 AM UTC-7, Brian Coca wrote:
>>
>> you might be using pip3 and need pip2.
>>
>>
>>
>> --
>> Brian Coca
>>
> --
yup, the default pip was 3. dont know how that changed.
On Wednesday, September 2, 2015 at 5:50:15 AM UTC-7, Brian Coca wrote:
>
> you might be using pip3 and need pip2.
>
>
>
> --
> Brian Coca
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project"
I'm creating VMs forcing mac address.
I'm looking for a way to create a pool of available mac Addresses to use
them for creating VMs; or just a way to see which mac addresses on my
vCenter are already used by my VMs.
Any hints?
I've found a module called ansible-provisioning but I can figure out
you might be using pip3 and need pip2.
--
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 ansible-project+unsubscr...@googlegroups.com.
To post
default is a fitler from the jinaj2 project, the 'fix' would have to
happen there
On Tue, Sep 1, 2015 at 8:52 AM, Paul Tötterman wrote:
>> ((ansible_eth1|default({})["ipv4"]|default({}))["address"] |
>> default("127.0.0.1")
>
>
> Ugh. I was expecting something like try: ... except KeyError: ...
>
bonechar:~# pip install ansible
Collecting ansible
Downloading ansible-1.9.2.tar.gz (927kB)
100% || 929kB 641kB/s
Requirement already satisfied (use --upgrade to upgrade): paramiko in
/usr/local/lib/python3.4/site-packages (from ansible)
Requirement already s
hostvars are not usable in 'hosts:' clause, use group_by if you want
to create adhoc groups for use in subsequent plays.
--
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 email
Error message is ERR_TOO_MANY_REDIRECTS on chrome. ansibel-galaxy install
command gives error that message is "the API server (galaxy.ansible.com) is
not responding, please try again later."
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
T
I'm trying to import/update my roles hosted on Github but Ansible Galaxy
says:
FAILED:
Failed to find a README.md. All role repositories must include a README.md.
Please refer to the 'Getting Started' documentation regarding role
requirements. Once the issue has been corrected in the repsotitor
Dear ansible users,
I try to write a paybook where I first get a host name from a host, then
would like to do thinks on this host name.
Here is a try:
---
- name: Get VM inventory
hosts: "{{vm}}"
gather_facts: False
tasks:
- debug: msg="{{hostvars[vm]['cluster']}}"
- name: Get free h
I do this (in this order):
- name: set password
mysql_user: name={{ mysql_user }} password={{ hostvars[product + '_' +
inventory_hostname + '_' + mysql_user].password }}
- name: create client config
template: src=client.my.cnf dest=~/.my.cnf mode=0600
client.my.cnf:
[client]
user={{ mysql
When I install mysql, default root password is empty. I then use ansible to
set the password:
```
- name: set root password, if it is empty now
mysql_user: login_user=root login_password='' name=root
password='{{desired_pass}}' state=present
```
But 2nd time this playbook runs, the task fail
Hi
I just pulled latest ansible from git and installed it. And it seems that
su_exe functionality is not working anymore. Regardless of what I set as
su_exe, ansible tries to execute su. I also tried to set become_exe to
something else not su but ansible executes su.
[privilege_escalation]
bec
Its maybe an issue with the expression I did use `where the inventory
lives` means under the same directory where is your inventory. So, it looks
for roles on /path/to/playbok/roles and then on /path/to/inventory/roles.
Javier Palacios
On Mon, Aug 31, 2015 at 11:24 PM, Greg DeKoenigsberg
wrote:
Hi guys,
unfortunately I'm on REHL6 without the option to install python packages
for the standard python installation. Thus I'm using Ansible from an
virtualenv on the managing node. That works fine, except that now I'm
running into performance issues.
The virtualenv sits on a nfs share which
55 matches
Mail list logo