Hi everyone,
I have had a PR in for quite some time in the
ansible.modules.web_infrastucture project namespace. It is known that the
maintainers of that project area get the final call on merging a new module
into it.
I have been having an issue getting any of the current maintainers to
resp
Would the custom module be apart of the same playbook that the host
variable is in? Or separate?
If it apart of the same playbook My first thought is to pass the j2 host
variable nto the custom python module as a parameter, if it is an Ansible
module that is. Otherwise you should be able to pass i
Hi Matt,
A solution like this should work for you:
- name: "set new hostname fact"
set_fact:
my_host: "{{ inventory_hostname.split('.')[0] }}.{{
inventory_hostname.split('.')[1] }}.{{ inventory_hostname,split('.')[-1] }}"
On Sat, Oct 26, 2019 at 1:18 AM Matti Herrmann
wrote:
>
Matti** sorry about the miss spelling
On Sat, Oct 26, 2019 at 7:21 AM Tom Davison wrote:
> Hi Matt,
>
> A solution like this should work for you:
>
>- name: "set new hostname fact"
> set_fact:
> my_host: "{{ inventory_hostname.split(
Hi everyone.
When trying to template out a weblogic wl.properties file, I am running
into a Jinja2 template problem.
Here is a snippet of code I am running into issues with:
# ADDITIONAL MACHINE PROPERTIES
I think you instead want:
>
> [{{ more_servers }}]
>
> On Tue, Nov 5, 2019 at 2:11 PM Tom Davison > wrote:
>
>> Hi everyone.
>>
>> When trying to template out a weblogic wl.properties file, I am running
>> into a Jinja2 template prob
My first thought is how do you have your inventory in tower? Does it match
the same exact layout as your inventory on the command line?
As in server1 is the first entry, server2 the second, etc..?
But generally speaking, since inventories may not always be perfectly
matched, a better solution wou
Depending on the overall scenario you can use the fail module. Otherwise,
you’ll need to put conditionals on all other tasks in the playbook to just
skip when the condition is not met.
On Fri, Jan 24, 2020 at 14:01 Anand Solomon
wrote:
> Hi,
> I basically wanted to skip the remaining of the play
Hi Anand,
I just answered the issue on the ansible oracle module github repo. Please
see that answer.
On Saturday, January 25, 2020 at 9:04:57 AM UTC-6, Anand Solomon wrote:
>
> Hi,
> I am trying to run a sql script which has simple select statement. (select
> username from dba_users). Will or
Hi Lukas,
I would suggest looking to make it an Ansible collection. With talking to
the core team, it seems that collections are being pushed more and more due
to back ups in the core Ansible project PR process.
Take a look here for more details:
https://docs.ansible.com/ansible/latest/user_guide
Please see this module and it’s examples to accomplish your task
https://docs.ansible.com/ansible/latest/modules/user_module.html
On Thu, Feb 27, 2020 at 01:52 Rishiv Chauhan
wrote:
> Please help,
>
> I wanted to create a yml script for the password never expire for a
> particuler user.
> let
The ansible file module?
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/file_module.html
On Tue, Nov 8, 2022 at 10:55 Philipp Ewald
wrote:
> I dont want to create a script placing files or removing files just to
> run one command...
>
> any ideas?
>
>
> --
> Philipp Ewa
12 matches
Mail list logo