Also should have included this in the initial post....I would prefer to not 
have to use the synchronize module as that requires rsync on both machines.


On Thursday, March 26, 2015 at 10:59:16 AM UTC-4, Mark Raider wrote:
>
> I am having difficulty figuring out how to have ansible manage the content 
> of a directory, including subdirectories.
>
> For example.. 
>
> if I have the following
>
> example_top_level_dir/
>       -> subdir1
>       -> subdir2
>
> And I remove the subdir2 from Ansible...I want that reflected on the 
> remote machine...Is there something similar to puppet's "purge" where I can 
> basically "sync" a reference directory in Ansible on a remote machine?
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/373284b0-0afb-4b62-8fb2-67553b4fdef6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to