

# Run this to understand the structure, the skipped ones do not pass the # check performed by 'when' - name : Get stats of the FS object : path : /path/to/something register : sym - name : Print a debug message : msg : "islnk isn't defined (path doesn't exist)" when : is not defined - name : Print a debug message : msg : "islnk is defined (path must exist)" when : is defined - name : Print a debug message : msg : "Path exists and is a symlink" when : is defined and - name : Print a debug message : msg : "Path exists and isn't a symlink" when : is defined and = False # Determine if a path exists and is a directory. So # therefore, we must test whether it is defined. Note that if the path does # not exist, and we test, it will fail with an error. name : Get stats of a file : path : /etc/foo.conf register : st - name : Fail if the file does not belong to 'root' : msg : "Whoops! file ownership has changed" when : st._name != 'root' # Determine if a path exists and is a symlink. # Obtain the stats of /etc/foo.conf, and check that the file still belongs # to 'root'.

Collections in the Junipernetworks Namespace.

Collections in the F5networks Namespace.Collections in the Containers Namespace.Collections in the Cloudscale_ch Namespace.Collections in the Chocolatey Namespace.Collections in the Check_point Namespace.Virtualization and Containerization Guides.
