The output you posted - with items "/opt/db/backup/mysql" and 
"/opt/db/data/mysql" - is not from the task you posted previously. That 
task had items "backup" and "data".

Either you've inadvertently confused which steps are doing what, or you've 
left out relevant details in a kind but unsuccessful attempt to minimize 
your post for our benefit. If the latter, please, more detail is always 
better than more posts asking for additional detail.

It appears to me you've left out something, possibly relevant, between 
creation of /opt/db/{backup,data} and /opt/db/{backup,data}/mysql.

On Friday, January 21, 2022 at 5:19:33 AM UTC-5 [email protected] wrote:

>
> On 01/21/2022 10:27 AM Dick Visser <[email protected]> wrote: 
>
>
> Depends on what the actual failure is, you didn't provide any error 
> details. 
>
> the file TASK itself messages sucessful execution 
>
> 2022-01-21 10:45:26,850 p=1753880 u=gwagner n=ansible | TASK 
> [resize_vgsys_mariadb : create mariadb 'backup' & 'data' dirs] 
> *****************************************
> ******************************************************** 
> 2022-01-21 10:45:27,140 p=1753880 u=gwagner n=ansible | changed: 
> [vm-51150-0198.intern] => (item=/opt/db/backup/mysql) 
> 2022-01-21 10:45:27,383 p=1753880 u=gwagner n=ansible | *changed*: 
> [vm-51150-0198.intern] => (item=*/opt/db/data/mysq*l) 
>
> later on another TASK complains about the missing directory 
>
> TASK [mariadb_install : prepare install - cp my.cnf >> 
> /opt/db/data/mysql/] 
> *****************************************************************************************
>  
> failed: [vm-51150-0198.intern] (item=my.cnf) => changed=false 
> ansible_loop_var: item 
> item: my.cnf 
> msg: Destination directory */opt/db/data/mysql* does not exist 
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4809257a-d3f2-4c26-8081-26ffbaf907ddn%40googlegroups.com.

Reply via email to