Thank you very much. It worked like a charm.
On Thursday, January 9, 2020 at 10:12:38 AM UTC-8, Kai Stian Olstad wrote:
>
> On 09.01.2020 18:32, Masudur Rahman wrote:
> >- name: Change Umask to 0022 to make installer working
> > shell: umask 0022 && umask
> >
> >-
This seems to have been some sort of quoting issue.
After much troubleshooting, I found the working solution:
changed_when:
- ((jjb_update.stderr_lines | regex_replace('.*jobs
updated.\\s+(\\d+).*', '\\1')) != '0' )
--
Shaun
On Sat, Nov 30, 2019 at 1:30 AM Kai Stian Olstad <
try this?
name: reboot ios device
cli_command:
command: reload
prompt:
- Save?
- confirm
answer:
- y
- y
On Friday, 10 January 2020 14:28:23 UTC, Srinivas Naram wrote:
>
> Hello Gurus
>
> I am working on ios_command module. This modules facilitates in
Hello,
What I want to have is one host folder (i.e. Host1) which will contain a
vars.yml that will define the actual ansible_host (i.e. "1.2.3.4"). So, in the
inventory I will need to have:
[GroupA]
host1A ansible_host=Host1
[GroupB]
host1B ansible_host=Host1
where the ansible_host will take
ansible_host is just a variable, you can define it anywhere you want.
--
--
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
Hi Rohan,
There are a number of ways to do this.
Take a look at Prompts -
https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html
which will be interactive like you explained in the original post.
But going forward you might want to use VMware guest templates and OVF
images to
Hello Gurus
I am working on ios_command module. This modules facilitates in execute
commands on Cisco IOS devices.
While running 'reload' command it is prompting for 2 inputs,
"System configuration has been modified. Save? [yes/no]" > yes
"Proceed with reload? [confirm] >
Hello Rohan,
it is always better to have the variables and its values in the group_vars
section and pass them while executing the playbook.
1. created a reusable playbook (create a variable inside the playbook in
which you want to pass it at the time of playbook execution).
2. create a
Hello,
I am looking to create VM from vmware_guest module on esxi server which is
working fine with following playbook,
But- I want to pass details which are needed while booting into VM e.g
hostname, username or license agreement.
I tried using
1-custome values and
2-set_facts but this
Hello,
Thanks a lot for your help! From what I understand is that the ansible_host
should be the actual hostname (dns entry). Is there any way to pass the to the
ansible_host the name of an entry in the host_vars?
For example, I have in the host_vars directory, the folder Host1 where it has a
10 matches
Mail list logo