Nevermind -- not sure where I remember seeing reference to running
powershell snippets via raw: -- but I certainly can't find it again ...
It sure would be a nice feature ... -- I've found that even on the unix
side, it is frequently a 'very-fast-value-add' proposition to quickly
rewrite old
I'm seeing some references online that make it sound like the ansible "raw"
module when run versus windows hosts (winrm) should allow execution of
powershell commands -- I'm able to execute raw: commands with the older
windows shell (batch file syntax) -- but don't seem to be able to use any
>
> Thanks for the response Brian. I tried your solution but the same error
> sticks around
Failed to template {{ exceptions | union(['-A INPUT -p tcp --source '+ item
+ ' --dport 3306 -j ACCEPT','-A INPUT -p tcp --source '+ item +' --dport
4567 -j ACCEPT','-A INPUT -p tcp --source '+ item
Hi,
no one any ideas on that?
Thx!
Timo
On Thursday, September 10, 2015 at 4:24:28 PM UTC+2, Timo wrote:
>
> Dear list,
>
> i want to change a parameter in the vm_extra_config from what i understand
> will modify my .vmx of my VM.
>
> This is my part of the vm_extra_config:
>
>
Actually, having thought about it a bit more I could rephrase my question
more simply as "is there anything like Puppet's 'subscribe' relationship
parameter?"
On Tuesday, September 15, 2015 at 11:08:12 AM UTC-7, Guy Knights wrote:
>
> I have an haproxy role that can be used for a variety of
So, for both security and other management reasons, we have several
(currently 12) separate "environments", firewalled off from each other,
each with their own Ansible server. That's fine for most things, but
certain one-off tasks (eg. changing my password) are a pain, since I have
to do it
he, no worries, I didn't catch that either
--
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
Hi,
Is something like this possible when defining a dictionary in
defaults/main.yml:
agent_instances:
"{{ [ansible_fqdn] }}":
port: 5912
"{{ [ansible_fqdn]-2 }}":
port: 5913
I want to then call agent_instances.keys() | join (",") in a jinja2
template.
Thanks in Advance!
Paddy
I have an haproxy role that can be used for a variety of purposes (load
balancing, local proxying, etc), and I need to be able to notify handlers
in several other roles if a task in the haproxy role changes, based on
which of those "other" roles exist on the current node. The main reason I
On Tue, Sep 15, 2015 at 4:58 AM, Karl Fischer wrote:
> Hi
>
> Will usernames be synced from Github to Galaxy, when the switch happens in
> January,
> reason I'm asking is that my github username is 3 characters and it seems
> that Galaxy only supports 4 characters and up.
I am dumb, and the issue is because i have:
- rescue
when it should be:
rescue
My mistake.
On Tuesday, September 15, 2015 at 9:03:04 AM UTC-4, Frank Perks wrote:
>
> So i was hoping to use blocks as an easy way to notify success/failure of
> ansible runs.
>
> - block:
> - include:
Hi Karl, we can adjust that to match what Github allows, thanks for
pointing it out!
As for the linkage, you'll have to add the Github social linkage yourself,
which you can do from your profile page on Galaxy.
Thanks!
James Cammarata
Director, Ansible Core Engineering
github: jimi-c
On Tue,
Hi guys,
I have a machine configured using Ansible as a webserver. I would like to
use the autoscaling feature of Google Compute Engine. What is the correct
way to do it? I don't know how to make them both work together (ansible and
autoscaling).
Thank you for your help
--
You received
On 9/15/15 12:57 PM, Patrick McMahon wrote:
Is something like this possible when defining a dictionary in
defaults/main.yml:
|
agent_instances:
"{{ [ansible_fqdn] }}":
port:5912
"{{ [ansible_fqdn]-2 }}":
port:5913
|
I want to then call |agent_instances.keys() | join (",") |in a
Ahh, I'll have to think of another way to do it then. Thanks Dan!
Paddy
--
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
you seem to have a mixed installation, that error is normally produced
by version 1.x of the command module when used with 2.x ansible.
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and
Hi Frank, I did just test this out on the latest version of devel, and it
appears to be working for me just fine:
# cat fail.yml
- fail:
# cat test.yml
- hosts: localhost
gather_facts: no
tasks:
- block:
- include: fail.yml
- debug: msg="you should not see me"
rescue:
-
no, sadly ansible needs to be able to run a shell as the commands it
runs are temporary scripts it copies over and not specific commands
that can be listed.
On Tue, Sep 15, 2015 at 12:43 AM, Srinivas Kotaru wrote:
> Hi
>
>
>
> Am having a issue to use ansible in our
I did not realize, you are self referencing exceptions, that won't work
--
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
This is a bug, open a github issue please, using this template
https://raw.githubusercontent.com/ansible/ansible/devel/ISSUE_TEMPLATE.md
and supplying a minimal reproducible test will help us getting this fixed.
--
You received this message because you are subscribed to the Google Groups
Hi
Am having a issue to use ansible in our environment. We use sudo to run
any commands. We don't use root to login. In fact even hosting team don't
use root account. Every command ( privileged) has to be run as sudo.
Am getting below error while running command with sudo permission
Hi
Will usernames be synced from Github to Galaxy, when the switch happens in
January,
reason I'm asking is that my github username is 3 characters and it seems
that Galaxy only supports 4 characters and up.
Karl
--
You received this message because you are subscribed to the Google Groups
Hello,
I am running docker swarm with Ansible, my playbook deploys a docker image
on specific node using swarm, post that deployment I want to execute
certain Ansible tasks on the host where the image is deployed (still
running from the same playbook role), as I am using consul as my backend
I didn't realize that I needed to create a separate play in my playbook to
do this piece. Once I did that, everything worked as advertise. Sorry
that my learning mistakes have created noise. Thanks, again, to Brian Coca
for all the help - greatly appreciated!
On Monday, September 14, 2015
So i was hoping to use blocks as an easy way to notify success/failure of
ansible runs.
- block:
- include: build.yml
- include: deploy_site.yml
- name: Notify Slack it successfully deployed
slack:
- rescue:
- name: Notify Slack it failed
slack:
When there is an error in
I want to add a linux bridge on a remote node having ubuntu 14.04 version.
I wrote a playbook to do so, it is as following:
* hosts: ans# user: sudo tasks:- name: send and execute
shell: /sbin/brctl addbr br11*I've used shell command to execute brctl on
the remote node
i configure like as below for ci
1)i configured Jenkins,maven and git
2) In that .war file to upload to S3 bucket uisng publish artifacts to s3
bucket plugin
3) create new EC2 instance using cloud formation template from S3 bucket
using cloud formation plugin
4) now i want to configure
Like i said move your ansible-hostname into the roles folder (if you don't
have one make one). As far as i know ansible only loads roles from the
roles folder, which is probably your issue.
Also his documentation is wrong, he doesn't use hostname_domain, he
actually in the code uses
28 matches
Mail list logo