Hi all -
Given a production environment with slightly more than 1000 VMs, across four
geographically dispersed datacenters, how long would you allocate for a
moderately paced (non-aggressive timeline) to implement ansible?
I know this is very open ended. Over the past year, we've implemented
Hi
I am very new with ansible and I am struggling to solve the following
"problem"
I have two json inputs
a list of "locations" (you can think them as stores). For each "location"I
have the name and the unique ID
and a list of "parts" . For each item, I have an array which tells me in
Thanks for the response. I wound up fixing it by fixing my syntax:
name: "{{((item[0], item[1],'_80_POOL') | join )| upper }}"
was what I needed for the with_nested.
- Sean
On Tuesday, September 5, 2017 at 9:37:11 PM UTC-4, Tim Rupp wrote:
>
> Sean, try the module found in the
http://docs.ansible.com/ansible/latest/playbooks_loops.html#looping-over-a-list-with-an-index
On 7 September 2017 at 19:14, Giovanni Gaglione
wrote:
> I basically need the index of the current hostname, but I can't find a way.
> {{
Have you seen the serial: argument to plays?
http://docs.ansible.com/ansible/latest/playbooks_delegation.html#rolling-update-batch-size
That's intended for working on a 'chunk' of N servers in a given group at once.
On 6 September 2017 at 13:00, Cev Ing wrote:
> I have
No specific requirement. I just wanted to bundle up some ad hoc commands
and run them via script module.
You are correct. I just recently setup that 2nd vm and didnt have ansible
installed. Fixed that. Now the command runs but doesnt actually create the
file, even though the output reports
Le 08/09/2017 à 18:22, Anfield a écrit :
> I have a playbook and a script file which contains a couple of simple
> ad hoc commands, but it is not working.
>
> I have 2 VMs on my desktop which are linked up via custom host-only
> 10.10.x.x network. Connection is working, other playbooks work fine
I have a playbook and a script file which contains a couple of simple ad
hoc commands, but it is not working.
I have 2 VMs on my desktop which are linked up via custom host-only
10.10.x.x network. Connection is working, other playbooks work fine etc.
Playbook -
---
- hosts: 10.10.0.4
Here's how we wait for some of our tomcat apps to start up:
- name: check every 3 seconds for 40 attempts if tomcat is up and ready to
serve the healthcheck page
uri:
url: 'http://{{ inventory_hostname }}/app/healthcheck.jsp'
return_content: yes
timeout: 2
delegate_to: localhost
Friends:
Thank you in advance for your time and attention.
I am writing a playbook do the following on 6 tomcat servers.
a. start tomcat
b. wait for the app to come up on
http://localhost:8080/tellMyVersion/version.jsp
c. complete the play run after the above steps.
I can start tomcat which
Hey
The package pyOpenSSL is used by the requests-credssp package. Even if you are
not using CredSSP it will try and load the library if it is there and fail if
it doesn't exist. There is a newer version of requests-credssp that doesn't
fail outright if you aren't using credssp auth so try pip
If you are on Ubuntu:
sudo apt-get install libffi-dev
pip install cryptography
Good luck!
On Thursday, March 16, 2017 at 9:20:56 PM UTC+5:30, tperrone wrote:
>
> might want to run with -v to get winrm info as well; what auth are you
> doing.
>
> I saw a similar issue and when i tried to
Hi folks,
Just in case this help someone else out
- name: Retrieve existing vm's
vars:
_vm_iaas_username: "{{ [vm_iaas_username, data.vm_iaas_username,
'oneadmin']|reject('undefined')| first }}"
shell: "onevm list | grep {{ _vm_iaas_username }} | awk 'BEGIN {FS=\"
\"}{print $1}'"
You can
export ANSIBLE_FORCE_COLOR=TRUE
if you have AnsiColor plugin installed in your jenkins you will see the
colours in the Console output of your jobs.
Jon
On Friday, September 8, 2017 at 9:13:54 AM UTC+1, Dave Cottlehuber wrote:
>
> On Sat, 2 Sep 2017, at 06:17, manne shiva kumar wrote:
>
On Sat, 2 Sep 2017, at 06:17, manne shiva kumar wrote:
> Hi Kiran,
>
> Am having the same issue.. could you please help me in resolving this..
>
> On Thursday, February 4, 2016 at 3:02:04 PM UTC+5:30, Javier Palacios
> wrote:
> >
> > With the setup you describe, you have basically two
A colleague of mine explained that these variables are created when the
inventory is read.
You can get to see those with:
ansible -m debug -a "var=vars"
This "vars" appears to be undocumented.
HTH
Op woensdag 6 september 2017 09:34:48 UTC+2 schreef Sieds Pallas:
> Hi Tom,
> I suspected that
Thanks for the help Mr Kai. I really appreciat
On Fri, Sep 8, 2017 at 11:38 AM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 08. sep. 2017 05:59, parwinderjit singh wrote:
>
>> My host file is
>>
>> [splunk-head]
>> parv-vm-01 ansible_ssh_host=10.48.21.99
On 08. sep. 2017 05:59, parwinderjit singh wrote:
My host file is
[splunk-head]
parv-vm-01 ansible_ssh_host=10.48.21.99 host_fqdn=parv-vm-01
[splunk-indexer]
parv-vm-02 ansible_ssh_host=10.48.21.94 host_fqdn1=parv-vm-02
parv-vm-03 ansible_ssh_host=10.48.21.96 host_fqdn=parv-vm-03
parv-vm-04
18 matches
Mail list logo