e in ansible to create alert.
>
> Thanks & regards,
> Pradeep Kumar Drall
> 919711940167
> skype - pradeep.kumar2607
>
>
> On Tue, Aug 28, 2018 at 7:20 AM Mark Phillips > wrote:
>
>> Hello Pradeep,
>>
>> When you say 'access Splunk alerts&
Hello Pradeep,
When you say 'access Splunk alerts' how do you mean? Would you like the
Splunk alert to do something with Ansible? Maybe trigger an Ansible
playbook run? If you can talk of the specific scenario that would be most
helpful.
Thanks!
On Monday, 20 August 2018 17:37:21 UTC+1, Prade
This.
I always used to suggest to people – strongly – that they avoid using meta
to pull in other roles, because it's frankly unkind to your colleagues.
Role dependency paths are sooo much easier to visualise if you just list
them in the order you need them in a parent play. Simples!
On Thur
A ha, excellent! We have some positive news :)
So I'd suggest there's something up with the rsync. Wrapping rsync in Ansible
can be a challenge - hence the synchronize module (also a challenge!)
I'd be inclined to just test another module between the servers too - in your
playbook I mean. Maybe
27;s prove the connectivity – from an Ansible perspective – first.
Cheers
On Wednesday, 5 April 2017 23:19:03 UTC+1, Robert F wrote:
>
> Hi Mark,
>
> No, when I run the ansible ping command, I get "No hosts matched."
> However, if I just use the normal ping command on that I
Hello Robert,
Does 'ansible -m ping 45.56.89.116' from that same backup server work just
fine?
On Wednesday, 5 April 2017 17:55:03 UTC+1, Robert F wrote:
>
> Here is the output when I run the playbook with the "-" argument:
>
>
> PLAY [restore database server]
> ***
On Tuesday, 20 December 2016 19:53:01 UTC, Brian Coca wrote:
>
> I was going for even simpler:
>
Dude, you rock!
>
> # inventory
>
> [vm_group]
> host[1-50] ansible_connection=local
>
> # play
> - hosts: vm_group
> gather_facts: false
> tasks:
> - create_vm: name={{inventory_hostname
On Monday, 19 December 2016 15:18:28 UTC, Chethan S wrote:
>
> Is it possible to create multiple VMs in parallel? As of now, it's one VM
> after another. I use the vmware_guest module for creating VMs in vCenter
> Server.
>
> I tried specifying *strategy: free *but that is not helping.
>
Funni
Hello,
You could use a lookup or command to run a mysql query.
Although not specifically what you're looking for, this example does go to
somewhere remote to get a value...
https://github.com/phips/ansible-demos/blob/master/roles/app/tasks/main.yml#L11
Cheers,
--Mark
On Wednesday, 20 July 20
On Friday, 10 June 2016 12:02:31 UTC+1, Kaushal Shriyan wrote:
>
> Hi,
>
> I am new to Ansible. I am not sure what is agent less in Ansible and how
> is it advantageous over agent based? I also read the whitepaper
> https://www.ansible.com/benefits-of-agentless-architecture and still have
> not
"{{ vcenter_host }}"
>>> username: "{{ vcenter_user }}"
>>> password: "{{ vcenter_pass }}"
>>> guest: "{{ item.guest }}"
>>> state: "{{ item.state }}"
>>> vm_extra
Not what you're after, I suspect, but...
shell: "ethtool {{ ansible_default_ipv4.interface }} | awk '/Duplex|Speed/
{ print $1, $2 }'"
On Wednesday, 6 April 2016 08:13:59 UTC+1, Deepa Yr wrote:
>
> Hi
>
>I want to check machine is provisioned with proper specifications
> or not. As part
that would be the killer feature for now.
> Thanks!
>
> miercuri, 11 noiembrie 2015, 18:18:29 UTC+1, Mark Phillips a scris:
>>
>> Hello Mihai,
>>
>> Well, it's two other products there that are in effect needing control
>> of. You need vSphere to interact wit
s a module or an Ansible
> trick that you can specify the boot parameter in the vsphere boot :) that
> would be helpful.
>
>
> vineri, 6 noiembrie 2015, 18:33:56 UTC+1, Mark Phillips a scris:
>>
>> If it's from a CD boot Mihai just hit 'tab' then put ks
If it's from a CD boot Mihai just hit 'tab' then put ks= as Michael
suggested.
Otherwise, with PXE boot you can specify the option on the kernel line,
like:
kernel -n img http://ks.internal/centos/7/os/x86_64/images/pxeboot/vmlinuz
ks=http://ks.internal/bootstrap/ks/7.ks
On Friday, 6 November
Oh yes. I wonder if that's something that's broken lately?
Set python2.6 to be the default alternative and it works OK...
[ec2-user@ip-172-31-34-97 ~]$ sudo alternatives --set python
/usr/bin/python2.6
[ec2-user@ip-172-31-34-97 ~]$ ansible --version
ansible 1.9.2
On Tuesday, 11 August 2015 11
Because you don't need it Constantin. Amazon Linux already has EPEL plumbed
in, it's just not enabled. See...
[ec2-user@ip-172-31-33-248 ~]$ *yum --enablerepo=epel info ansible*
Loaded plugins: priorities, update-motd, upgrade-helper
epel/x86_64/metalink
Amazon Linux already has EPEL configured, so you should just be able to do
'yum install ansible'.
It looks like you've put the EPEL repo in place for RHEL6, when Amazon
Linux is closer to 7 - hence the Python 2.7 dependency.
On Monday, 10 August 2015 17:31:20 UTC+1, Co S wrote:
>
> Hi All,
>
>
Hello Joaquin,
Yep, you're on the right track there. This might help you...
http://probably.co.uk/ansible-for-puppet-users.html
On Wednesday, 8 July 2015 17:39:21 UTC+1, Joaquin Menchaca wrote:
>
> I was wondering how to organize configuration code into segments, such as
> nginx, mysql, redis,
On Wednesday, 13 May 2015 12:39:27 UTC+1, Marcel Bezemer wrote:
>
> Hey,
>
> I am currently playing around with ansible to see if this could be used
> for us in production with our deployments. Something I am currently have
> trouble wrapping my head around is the following.
>
> I want to use an
Hello,
A common problem I've hit a number of times. You can do an async, yes, with
a massive timeout (99 or such like). I did have some success with
this once though:
- name: Ensure admin service is started
shell: >
running=$( netstat -ant | grep -cP '7001.+LISTEN' ) ;
[ $runn
Hello,
I've done a lot of demos of this sort of thing using Ansible Tower's
'callbacks' feature. A playbook is exposed as a URL - embed a call to that
URL[1] in user-data when spinning up an instance, and you have a 'phone
home' solution that keeps the beauty of the push model.
--Mark
[1] Her
Wednesday, 18 February 2015 17:54:46 UTC, Mark Phillips wrote:
>
> Well, I went to roll the latest and greatest and there are some tests
> failing (I have the 'make rpm' rolled up in Jenkins) - so it doesn't build.
>
> Will check it again for you tomorrow John-Paul, i
he
> bootstrapping of my control boxes themselves so I can figure this out!
>
>
> On Wednesday, February 18, 2015 at 11:38:30 AM UTC-6, Mark Phillips wrote:
>>
>> OK, with an RPM built last weekend it still works just fine for me...
>>
>> $ rpm -q ansible
>>
]
***
changed: [local]
My play looks like: https://gist.github.com/phips/7c25ccc74f2aee268ed8
On Wednesday, 18 February 2015 17:26:50 UTC, Mark Phillips wrote:
>
> Worth checking ;-)
>
> I've been using the template stuff since late December, and it's working
> all f
Worth checking ;-)
I've been using the template stuff since late December, and it's working
all fine. However, saying that, I've not tried a recent code base. Is your
1.9 pull really recent? I'll try a bang up to date pull and see if I get
the same...
On Wednesday, 18 February 2015 17:20:42 UT
Hello John-Paul,
You've not, by any chance, got more than one Ansible on your system have
you?
On Wednesday, 18 February 2015 15:01:11 UTC, John-Paul Herold wrote:
>
> Sure! http://pastebin.com/1KM7Zyez
>
> Let me know if you have any other questions. Thanks!
>
--
You received this message bec
You might be getting bitten by something I fixed in December...
https://github.com/ansible/ansible-modules-core/pull/562
Does it do the same if you use the devel branch?
On Friday, 13 February 2015 15:19:17 UTC, Daniel H wrote:
>
> Can you post the vsphere_guest task that's failing? I can't pick
bscribed to the Google Groups
>> "Ansible Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to ansible-devel+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
Folks,
I was wondering if anybody has done any work on the vmware.py[1] dynamic
inventory script? I'd like to push it on a bit, with a couple of things:
a) Get it using the Python pysphere module (to bring it inline with
vsphere_guest - please leave "pysphere vs pyvmomi" for now, that's a whole
Well worth looking at doing this with inventory and group_vars Chris -
ideally you want to avoid embedding lots of {% if %} stuff in templates,
because it makes it harder for people to follow what you're doing.
Make the software do the work for you...
http://docs.ansible.com/intro_inventory.htm
Always worth looking at the stat module for checking out paths too Mark...
- name: Check for prior download
stat: path={{ vmwtools_tmp }}/{{ vmwtools_tar}}
register: tar
- name: Fetch tools install
get_url:
url={{ vmwtools_url }}/{{ vmwtools_tar }}
dest={{ vmwtools_tmp }}
when:
I'd be delighted to meet up and have a chat, face to face finally!
I'll talk to Greg and Brian and we can sort something out fairly central.
--Mark
On Monday, 2 February 2015 13:20:13 UTC+1, Matthew Macdonald-Wallace wrote:
>
> Hi all,
>
> Just wondering who's going to be in town on Wednesday ni
Hello Anatol,
You're close ;) Read over the getting started guide and you'll spot your
mistakes. But to help get you going ...
You need to specify -i for that hosts txt file - do a --help to understand the
switch.
-m specifies an ansible module - see module documentation at docs.ansible.com,
On Thursday, 8 January 2015 10:34:04 UTC+1, Stuart Budd wrote:
> I do not think that the idea will fly at all well, especially when they
> are paying for the product.
>
And when they pay for it (Ansible Tower) they get a PDF ... problem solved!
:)
--
You received this message because y
Hello,
I've recently done just this - and I coupled the VM creation with PXE
booting. I have two PXE menus in place, the default one just says 'boot to
HD'. The other one is the install menu, with a kickstart line. I control
the use of this with Ansible by doing the following:
https://gist.git
Hello Folks,
We are a sponsor at Velocity Barcelona next week - so if you're going along,
come say hello to us. It'll be me manning the booth.
I think we'll have some goodies too :)
--Mark
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
What version of Ansible are you using Alexey? Look at 'pipelining', that's
probably what you're after. I think it needs a fairly recent ssh version too
though.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group
Absolutely brilliant!
Thanks for pulling that in so fast.
> On 24 Jul 2014, at 00:11, Michael DeHaan wrote:
>
> Yep, Benno works for us and is awesome.
>
> The unarchive fix is now merged, the command module bit is a bit different.
>
>
>
>
>> On W
It hits the unarchive module too, it would appear. Got bit by that in the
middle of a demo/presentation last night (that'll teach me to be running
from devel!)
There is a ticket Michael, looks like somebody has already fixed it too,
and sent you the PR.
https://github.com/ansible/ansible/pull
s that would be a bit cryptic and surprising to most people.
>
> Stick it in your ~/.ansible.cfg or /etc/ansible/ansible and you should be
> good to go, otherwise set environment vars.
>
>
>
>
>> On Thu, Jul 10, 2014 at 2:50 PM, Mark Phillips wrote:
>>&
On Wednesday, 30 April 2014 21:58:45 UTC+1, James Cammarata wrote:
> Mark, our main concern was not hiding a warning pertaining to a security
> issue, even if there was no current fix available. In order to find some
> middle ground, we've gone ahead and added a new configuration option:
> syst
Are there plans to allow it Michael?
I've just been bitten by the same behaviour...
https://gist.github.com/phips/2a51a5d32fdff4dcb719
Cheers,
--Mark
On Wednesday, 12 February 2014 13:21:26 UTC, Michael DeHaan wrote:
>
> There is not a way to do this currently.
>
>
>
>
> On Tue, Feb 11, 2014 a
> Thanks!
>
>
> On Wed, Apr 30, 2014 at 1:16 PM, Mark Phillips wrote:
> The trouble is Michael it's not an easy resolution for many people. RHEL6 is
> probably very widely used, so we're now getting into 'dependency hell'
> territory. Upgrading libgmp
The trouble is Michael it's not an easy resolution for many people. RHEL6
is probably very widely used, so we're now getting into 'dependency hell'
territory. Upgrading libgmp just isn't practical.
If the problem isn't that severe, and the error message can be suppressed,
I'd like to be able to
Folks,
I'm running CentOS6.5, and have pulled the default python-crypto RPM to use
a newer version so Vault works. I'm running an RPM build from the Ansible
source (devel branch - ansible-1.6-0.git201404301338.el6.noarch)
The EPEL python-crypto2.6 RPM seems to have the Crypto directory under th
::unit and prove but I personaly don't like that
> solution
> Regards,
> Sergio
>
> On Wednesday, March 19, 2014 4:55:49 PM UTC, Mark Phillips wrote:
>>
>> Hello folks,
>>
>> Not something I'd ordinarily advocate - XML (eugh) - but I was wondering
>>
Hello folks,
Not something I'd ordinarily advocate - XML (eugh) - but I was wondering if
anybody had done anything with producing run log output as XML?
I'm looking at it so I can plug Ansible testing into a CI solution, in this
case specifically Bamboo. I can make use of the JUnit processor wi
Interesting, and timely. Funnily enough I started looking at FreeIPA at the
weekend, as part of a proposal for a current client project (where I'm
building out an infra with Ansible). Naturally I'd done the initial setup
with Ansible (the easy bit - 'yum' :-)) and was progressing to looking at
Yup, just to echo Walid, I do a similar thing. Check for file/directory,
save in register, react in following task.
An example being initialising Postgres databases...
- name: Check for default database
stat: path={{ postgres.datadir }}/PG_VERSION
register: pgv
- name: Initialise database (i
And that’s precisely what the client, in this particular case, wants Michael.
So yes, please do hurry along and get it in the product ;)
Reporting is the key thing, especially for management types. Just being able to
see the state of their systems is a good start, because then it can easily be
On Tuesday, 21 January 2014 17:42:02 UTC, Jesse Keating wrote:
> You could create a fact module that gathers facts about what packages
> are installed (essentially an rpm -qa stuffed into a dictionary).
>
Thanks Jesse, nice idea. I'd have to test the performance of it - my first
thought is it
Hello Folks,
I'm working on a configuration management proposal for a client at the
moment - and I'm planning on using Ansible (I have 'prior'). Part of their
requirements is patching - and having done something similar in the past
with Puppet, I was planning on looking at doing patch managemen
Yes, you can, using 'register' and 'groupname'.
Take a look at this playbook I did to do just
that: https://github.com/phips/aws-jenkins
On Monday, 13 January 2014 15:32:26 UTC, howa...@gmail.com wrote:
>
> Is it possible to fully automatic launch an EC2 instance and run the
> playbooks against
Hi,
Take a look
at asynchronous actions: http://docs.ansible.com/playbooks_async.html
On Monday, 13 January 2014 00:13:19 UTC, Tao Fan wrote:
>
> Hi all,
>
> I have search around for this but they are all about running one task
> concurrently for multiple hosts. What I am trying to get is runni
55 matches
Mail list logo