Hi all, we've just tagged the rc2 release for 1.9.2, which includes several
fixes for modules (service, rds, among others) as well as some other minor
fixes and improvements.
To test from source, simply clone the git repository (if you haven't
already) and do the following:
$ git checkout
you could use the loop.index and compare against
group['app_servers']|length to break the loop at the serial point.
On Sunday, June 21, 2015, Ivan Dimitrov zlob...@gmail.com wrote:
Hello Group,
I'm looking for a way to access facts for my hostnames through the
hostvars and groups methods.
I'm not sure I understand the question, can you show an example of what you
want, how it fails and how you expect it to work?
-
Brian Coca
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group
HI all,
Am trying to admin/setup multiple EC2 Windows hosts and have hit a bit of a
snag. I have playbooks that create the initial instances just fine, along
with one that creates a list of the Instance IDs of the Windows hosts I
need using the ec2 module, and one that gets the default
Hi guys,
this is the first time I ever use the uri_module and I'm facing a problem
that I just can't solve.. here it is
- name: Sending Stash to Sensu - {{ item }}
uri:
url=http://10.0.0.8:4567/stashes
method=POST
body_format=json
body={path: silence/{{
Can you double-check that you're running as admin? OS / PowerShell version?
As for the write-verbose part, that only shows if you set
$verbosePreference to Continue.
On Tuesday, June 23, 2015 at 1:28:23 AM UTC+2, Michael Legleux wrote:
It previously has always worked for me but now I'm
Escape your double quotes
body={\path\: \silence/{{ item }}\,\content\: {\reason\:
\Automatic Scale Down\},\expire\: 28800}
On Tuesday, 23 June 2015 06:45:41 UTC+10, Erick Barros wrote:
Hi guys,
this is the first time I ever use the uri_module and I'm facing a
problem that I just can't
Hi all is there a way to make it so that No hosts matched becomes a FATAL
error?
I'm using a CI job to kick off ansible to deploy something and in this case
if it cannot find a host to deploy to, I want that to be a fatal error.
Right now, ansible returns a zero exit code so the CI job
One stab at fixing this:
https://github.com/ansible/ansible/pull/11350
--
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
On a side note: To me it looks like you're trying to use the unarchive
module on a windows node. That won't work. You need to use a module listed
in Windows modules: http://docs.ansible.com/list_of_windows_modules.html
On Monday, June 22, 2015 at 5:22:50 PM UTC+2, J Hawkesworth wrote:
It is a
It previously has always worked for me but now I'm getting an error
Unable to establish an HTTP or HTTPS remoting session.
At C:\users\stage\Desktop\configure_windows_for_ansible.ps1:129 char:5
+ Throw Unable to establish an HTTP or HTTPS remoting session.
+
Hi Guys,
I am new to ansible world, Based on hostname I need to select variables and
feed input to template file.
In my case :: I need to deploy app on multiple hosts, based on hostname I
need to configure db_name and db_user and db_pass etc..
Please guide me, How to do this.
-Dhanasekaran.
Hello Group,
I'm looking for a way to access facts for my hostnames through the hostvars
and groups methods. This all works well, but I'm stuck when I try to limit
the batch size with the serial directive.
For example: I have 10 web servers that I want to do rolling update using
the serial:
Hello,
just learning Ansible with Vagrant and the help of the book Ansible up and
running.
I cannot execute the first playbook in the book i always had a syntax
error.
Ansible version: 1.9.1
Playbook :
- name: Configure webserver with nginx
hosts: webservers
sudo: True
tasks:
- name: install
Hello, i am running ansible 1.9.1 on a Ubuntu server 14.04.2, my remote
machine is a windows 7 sp1.
i have the following files and error message, i don't understand where the
issue is..
/etc/ansible/group_vars/windows.yml
ansible_ssh_user: AnsibleUser
ansible_ssh_pass: ansiblepass
Thanks i found this post, was fighting with Ansible, checking there should
be some option to run it plane with invoking $SHELL,
now i got know its not possible, i will run it in command: with stdin
password,
pls let me know if this is fixed, means if there is an option to exclude
shell.
On
For example, I would love to write a module (if there's no easy way to do
this) that would effectively get the list of gems I need and then install
them from that list, thus my my output would be more like:
TASK: [ruby | get ruby requirements] **
changed:
Hi Team,
I just started working on ansible and using online documentation to try.
I just ran my first command : ansible all -m ping
Why ansible wants to SSH to the server for which I am trying ping?
It does not make sense (until I am missing some thing) to connect to the
server when I just
The ping module is *NOT* Ansible trying to reach a host via ICMP message.
Ansible will try to connect to the host via SSH and
execute the ping module which just generates a pong answer.
Am 20.06.2015 um 18:36 schrieb Suneel Gali:
Hi Team,
I just started working on ansible and using online
OK, it worked, thank you = *FACEPALM*
On Sunday, June 21, 2015 at 10:22:44 AM UTC+2, Yassen Damyanov wrote:
Never had to deal with Amazon stuff but here my 2 cents: your first method
fails because of wrong indentation:
On Thursday, June 18, 2015 at 6:24:22 PM UTC+3, Louis Borsu wrote:
Hi,
Hi Andrew,
Thanks a lot for your reply. I was able to overcome the issue by creating a
config file and adding few details under .ssh folder. I am now able to
connect to the server.
Thanks,
Lokesh
On Friday, June 19, 2015 at 1:30:39 PM UTC+10, Andrew Burrow wrote:
Possibly start by running
Looks like you just need to add your server into a group called windows -
the example here shows the group
http://docs.ansible.com/intro_windows.html#inventory
So your inventory file needs to look like this:
[windows]
WIN-F6531IBP8HG
The group vars will then take effect for your host and
i have done this as said in my edit but it is not working for the playbook.
do i have anything else to do to make it run properly?
Le lundi 22 juin 2015 13:48:43 UTC+1, J Hawkesworth a écrit :
Looks like you just need to add your server into a group called windows -
the example here shows
Thanks Matt,
Without quotes:
Failed to template {{ build_number | default(~) }}: template error while
templating string: unexpected '~'
With singles quotes it is not converted to null and simple taken as a
string. Will raise an issue.
On Friday, June 19, 2015 at 10:55:27 PM UTC+1, Matt Martz
EDIT: my files are now
/etc/ansible/group_vars/windows/windows.yml
ansible_ssh_user: AnsibleUser
ansible_ssh_pass: ansiblepass
ansible_ssh_port: 5986
ansible_connection: winrm
/etc/ansible/hosts
[windows]
WIN-F6531IBP8NG
the ping is working but sometimes it fails with this message:
There probably several ways of doing this.
To start with have a look at 'host_vars' - you can set variables for each
machine in your inventory:
http://docs.ansible.com/intro_inventory.html#host-variables
You will probably find very soon after that you want to set the same
variables for groups
I think you just need to line up your whitespace correctly. Indentation
level is significant in YAML - have a look at the yaml primer
http://docs.ansible.com/YAMLSyntax.htmlor use yamlint if you need to check
your playbook.
Hope this helps.
Jon
On Monday, June 22, 2015 at 12:46:58 PM UTC+1,
Hmm, looks like you have incorrect sequence for your playbook.
There are existing sample you can try from:
https://github.com/ansible/ansible-examples
https://gist.github.com/marktheunissen/2979474
On Monday, June 22, 2015 at 7:46:58 PM UTC+8, Julien Deloubes wrote:
Hello,
just learning
Looks like you have hit the windows management framework 3.0 bug described
in the blue box here:
http://docs.ansible.com/intro_windows.html#windows-system-prep
Since win_ping is working for you now, you just need to install the hotfix
to get up and running:
i can't install the hotfix, i am stuck on the terms ans conditions
page.
is this bug related to ansible-playbook because i can make a ping but not
run my playbook?
Le lundi 22 juin 2015 14:50:22 UTC+1, J Hawkesworth a écrit :
Looks like you have hit the windows management framework
30 matches
Mail list logo