mdklatt / ansible-tmpdir-role Goto Github PK
View Code? Open in Web Editor NEWAnsible role to create a temporary directory that will be automatically removed.
License: MIT License
Ansible role to create a temporary directory that will be automatically removed.
License: MIT License
Calling/including the role more than once will create multiple tmp directories, and when the handler is called to delete the directory, only the newest one is deleted. Before creating a directory, make sure tmpdir_path
is not already set.
Not sure if this has been requested before, but is there a chance you could push this to Ansible Galaxy? Thanks!
Tag all debug tasks as debug
rather than making them conditional on tmpdir_debug
. Remember to update REAMDE.rst.
TASK [verify that tmpdir_path is unset] ****************************************
[DEPRECATION WARNING]: evaluating as a bare variable, this behaviour will go
away and you might need to add |bool to the expression in the future. Also see
CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in
version 2.12. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.