once the conditions are met I want to proceed importing/including a role that 
installs postgres under that specified location.
This role expects the conditions to be met in order to run successfully
 

> On 09/06/2023 6:21 PM CEST Dick Visser <[email protected]> wrote:
>  
>  
> On Wed, 6 Sept 2023 at 14:34, dulhaver via Ansible Project 
> <[email protected] mailto:[email protected]> 
> wrote:
> 
> > I want to check for existence of a folder and also the right owner, group 
> > and mode.
> > When any of the conditions (exists, owner=postgres, group=postgres, 
> > mode=0755) does not meet requirements I want to stop and be notified of the 
> > reason.
> >  
> > 
>  
> What are you trying to do at a high level?
> While you can use ansible as a glorified shell wrapper or reporting tool, but 
> its intended purpose is configuration management.
> So in this case, what will you do if the condition DO meet the requirements?
> 

 

-- 
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/796775760.57551.1694075466850%40office.mailbox.org.

Reply via email to