Hi community,
I started to provision a KeyCloak instance (based on the Docker image) with
the available modules
keycloak_client
keycloak_group
I could´nt find any thread regarding these modules - so my question is if
there´s any experience out there?
For example I´m interested in
- how to c
Hi all,
I have a playbook like:
hosts: weblogic
...
roles:
- { role: weblogic, wls: "{{weblogic['12.1.3']}}" }
- { role: weblogic, wls: "{{weblogic['12.1.1']}}" }
The role "weblogic" itself has a dependency to a role "java/jdk"
dependencies:
- { role: java/jdk, jdk_version: "
Hi,
we are using Ansible 1.8.2, and we stumbled upon a problem after copying
and unarchiving a (large) file:
failed: [myhost.com] => {"failed": true}
msg: Failed to find handler to unarchive. Make sure the required command to
extract the file is installed.
msg: Failed to find handler to una
in addition, also the group_vars cannot be resolved - they are expected
relative to the playbook(s) - or the inventory hosts file.
=> how do i define common group_vars/all.yml - when i want to structure my
playbooks in (sub) directories ?
Regards, Torsten
--
You received this message because
Hi,
we have several playbooks and roles in our project so I try to organize
them in that way:
\---deployment
\---trunk
| ansible.cfg
| app1.yml
| yml
| app[N].yml
+---files
+---filter_plugins
+---group_vars
+---libr
Hi,
I´m using Ansible 1.8.2 running on Virtualbox (CentOs6.5) with this small
playbook:
- name: Test playbook for roles/jdk
hosts: localhost
user: root
vars:
jdk_root: /tmp/opt/java
roles:
- { role: jdk, jdk_version: "1.8.0_40" }
The role looks like:
---
#
# JDK
#
Hi,
we have to support several environments (Dev, Test, Preview, Prod) - so we
have the following structure for our (static) inventory:
inventory
-- group
dev
- hosts
- group_vars
- host_vars
test
- hosts
Hi,
our developers use Maven for their (local) builds which stores artifacts in
the local filesystem (~/.m2/repository)
The build server uses the same build - and uploads artifact to a repository
server (Nexus), which is a quite common setup I guess.
Now we have introduced Ansible - for deploy
Hi,
I´ve written a simple RegEx filter (filter_plugins/filter.py) which is used
by some of our playbooks:
import re
def matchattr(objList, attrib, pattern):
listFiltered = []
for item in objList:
if re.match(pattern, item[attrib]) is not None:
listFiltered.append(
Hi,
I´ve a "best practice" question of how to define conditional variables,
depending on other variables:
The requirement is:
- --extra-vars "extint_filter=regEx" should filter instances
- --extra-vars "internalOnly=true" should filter instances by a
'build-in' filter,read from {{stag
looked like the variable isn´t properly passed to the template.
Sorry for that,
Torsten
Am Mittwoch, 17. Dezember 2014 16:47:17 UTC+1 schrieb Torsten Reinhard:
>
> Hi,
>
> I have a playbook like:
>
> ---
> ...
> vars_files:
> - vars/stage-{{stage}}.yml
>
Hi,
I have a playbook like:
---
...
vars_files:
- vars/stage-{{stage}}.yml
- vars/extint/stage-{{stage}}.yml
roles:
- { role: extint, params: "{{ extint_instance }}" }
...
Inside the role "extint" I have this task, processing a template in a loop
...
- name: create generate
Hi all,
We currently have all our configuration properties bundled with the
application-and therefore its almost a big challenge to change some values.
I'm thinking now of extracting all those properties and configs - and move them
to Ansible variables, var_files, inventory or whatever.
Is there
Hi,
our development team delivers a start script for a "Listener process".
It looks like:
#!/bin/sh
BASEDIR=$(dirname $0)
echo "> Starting Global
Listener."
${BASEDIR}/cm listener &
I can start this script manually and everything is fine.
If I star
roup specifier "hosts:" is the way to do it.
>
> To talk to all instances ending in that pattern
>
> - hosts: *_k
>
> The docs also show how to combine patterns and negate them.
>
> (The group_by module can also be used to create groups of arbitrary
> crite
Hi,
why dont use a “Shell” Buildstep and inside just do:
ansible-playbook –i /path/to/hosts playbook.yml –v –extra-vars . and so on?
Of course you need an Ansible installation on your system, first.
That´s the way how I´ve setup this – and all playbooks are executed immediately
after a SV
Hi all,
we started to create our inventory and in the beginning we were just fine
with the host_vars and group_vars option to place our properties.
Now, for some configuration we have almost the same settings on DEV, TEST
and PROD environment and I´m think about where to put them.
Of course, I
Hi all,
like probably most of you, we have multiple servers with multiple
application instances (Tomcat, Apache, ..) on it, for example structured
like this:
[cae:children]
cae-1
cae-2
[cae-1]
pbdelsweb001.mydomain.com
[cae-2]
pbdelsweb002.mydomain.com
For each group we have a *.yml file at
have multiple plays per file and per invocation.
>
> On Tue, Nov 4, 2014 at 7:00 AM, Torsten Reinhard > wrote:
>
>> Hi,
>>
>> we are working on some playbooks that will deploy Maven artifacts (*.tar,
>> *.zip) to our target environments.
>> Due to the f
Hi,
we are working on some playbooks that will deploy Maven artifacts (*.tar,
*.zip) to our target environments.
Due to the fact the target environment cannot directly access the Nexus
Server (artifact repository) we need first to download them onto the
control-machine
- and copy/ synchronize f
unclear why this would be
showing the behavior you're seeing. Is this the complete list of tasks, and/or
there any other tasks that also use that registered variable name?
On Mon, Oct 20, 2014 at 5:05 AM, Torsten Reinhard
wrote:
Hi all,
is it possible to "clear" or "un
or if you
really thought it needed to be split up "shutdown_foo" and "shutdown_bar", etc.
On Wed, Oct 15, 2014 at 4:34 AM, Torsten Reinhard
wrote:
Hi,
we have a huge application consisting of several components (Apache, Tomcat,
Weblogic, ...Database)
To shutdown th
Hi all,
is it possible to "clear" or "unregister" a variable ?
I have this situation:
deploy.yml
- include "deploy-apache.yml"
- include "deploy-tomcat.yml"
deploy-apache and deploy-tomcat both have a dependency to a
"deliver-artifact" role, and both run on the same server(s).
The {{installd
Hi,
we have a huge application consisting of several components (Apache,
Tomcat, Weblogic, ...Database)
To shutdown the system properly we want to follow a sequence starting at
the "top" (Apache) down to the backend (Database)
For launching the system we do the reverse order - starting at the
esting to figure out what's going on with your command
that appears to hang and power through it.
On Tue, Oct 7, 2014 at 9:17 AM, Torsten Reinhard
wrote:
Hi all,
for weeks we´ve been successfully using Ansible 1.6.6 - now we got an update
due to our current setup based just on "yu
Hi all,
for weeks we´ve been successfully using Ansible 1.6.6 - now we got an
update due to our current setup based just on "yum install ansible", so we
have version 1.7-1.el6.
After this update I ran into some problems, Ansible hangs when invoking an
"install.sh" in our playbook - without an
Hi all,
for weeks we´ve been successfully using Ansible 1.6.6 - now we got an
update due to our current setup based just on "yum install ansible", so we
have version 1.7-1.el6.
After this update I ran into some problems, Ansible hangs when invoking an
"install.sh" in our playbook - without an
27 matches
Mail list logo