Maybe it's not the most clean approach, but you can check if the
command returned an error message including "Could not get lock"
substring.
You can repeat this command with some delay in between and with a
limit of repeating cycles, waiting for the automatic update to finish.
Once the command end
You can't apply a loop to a block. A possible caveat for that is to include
the code of the block as a separated playbook and run the loop on that.
Example here:
https://ericsysmin.com/2019/06/20/how-to-loop-blocks-of-code-in-ansible/
El lun, 28 jun 2021 a las 9:53, Yahia CHILALI ()
escribió:
>
I would like to upload iso to ovirt, but I'm getting error:
OSError: [Errno 2] No such file or directory: '/rear/olrearc'
fatal: [olvman]: FAILED! => {
How that ansible can't find iso image? If I change upload_image_path:
/rear/olrearc/rear-olrearc.iso I'm getting the same error.
[ansible@nfs o
entory
meta: refresh_inventory
- name: change something1 on new vm's
- name: change something2 on new vm's
On Friday, February 19, 2021 at 7:10:10 PM UTC+1 dick@geant.org wrote:
> I think that is how it is supposed to work...
>
> On Fri, 19 Feb 2021 at
collections-ansible-builtin-group-by-module
>
> Regards,
>
> JYL
>
>
> Le 18/02/2021 à 19:45, j..r.. a écrit :
>
> I'm trying to deploy vms from template on esx with vmware_guest module
> and this work great, but I would like to do inside this playbook some
> modi
I'm trying to deploy vms from template on esx with vmware_guest module and
this work great, but I would like to do inside this playbook some
modification on vm after deployment. My inventory file is being populated
with the same playbook with hosts that are being deployed, but after that
I'm do
m shell -a "cat /tmp/file-copy" servera
> > servera | CHANGED | rc=0 >>
> > VG: vg_root free 0 GB
> >
> > lineinfile:
> >- name: vg free
> > lineinfile:
> >path: /tmp/file-lineinfile
> >line: "VG
M UTC+1 brae...@gmail.com wrote:
> On 1/26/21 2:35 PM, j..r.. wrote:
> > Hi
> >
> > I was trying to make report for free space in vg, but I have a problems,
> it's look like jinja doesn't like me::))
> > ansible_lvm
> >},
> >
-free-vgs
but it keep telling me that I didn't defined variable vgs: (The task
includes an option with an undefined variable. The error was: 'str object'
has no attribute 'vgs') .
Can you please help me once again with this? Thanks
On Sunday, January 24, 2021 at 1:55
what will be jinja template if I would like to create report only for / and
/var partition? Or haw would I accomplish that?
Thanks
Regards
On Sunday, January 24, 2021 at 10:17:24 AM UTC+1 brae...@gmail.com wrote:
> On 1/23/21 1:11 PM, j..r.. wrote:
> > Thanks, this works great
Friday, January 22, 2021 at 8:39:35 PM UTC+1 brae...@gmail.com wrote:
> On 1/22/21 5:29 PM, j..r.. wrote:
> > Hi
> >
> > I would like to create report for free partition size under
> "ansible_mounts"
> >
> >"ansible_mounts": [
Hi
I would like to create report for free partition size under "ansible_mounts"
"ansible_mounts": [
{
"block_available": 3911145,
"block_size": 4096,
"block_total": 4452864,
"block_used": 541719,
"d
I'm trying to search for a specific string from a var and while it finds
it, it prints the whole line and not the exact match I'm looking for. I'm
running ansible 2.9
Here is what it finds: *Interface GigabitEthernet0/1 "outside1", is up,
line protocol is up*
And what I'm looking for is eve
13 matches
Mail list logo