??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
àUdac @` sÿ d d l m Z m Z m Z e Z d Z d Z d Z d d l Z d d l
Z
d d l Z d d l Z e
Z y d d l Z e Z Wn e k
r“ n Xd d l m Z d d l m Z m Z d d l m Z e ƒ Z d „ Z d
„ Z d e f d „ ƒ YZ d S(
i ( t absolute_importt divisiont print_functionsô
lookup: filetree
author: Dag Wieers (@dagwieers)
version_added: "2.4"
short_description: recursively match all files in a directory tree
description:
- This lookup enables you to template a complete tree of files on a target system while retaining permissions and ownership.
- Supports directories, files and symlinks, including SELinux and other file properties.
- If you provide more than one path, it will implement a first_found logic, and will not process entries it already processed in previous paths.
This enables merging different trees in order of importance, or add role_vars to specific paths to influence different instances of the same role.
options:
_terms:
description: path(s) of files to read
required: True
sd
- name: Create directories
file:
path: /web/{{ item.path }}
state: directory
mode: '{{ item.mode }}'
with_filetree: web/
when: item.state == 'directory'
- name: Template files (explicitly skip directories in order to use the 'src' attribute)
template:
src: '{{ item.src }}'
dest: /web/{{ item.path }}
mode: '{{ item.mode }}'
with_filetree: web/
when: item.state == 'file'
- name: Recreate symlinks
file:
src: '{{ item.src }}'
dest: /web/{{ item.path }}
state: link
force: yes
mode: '{{ item.mode }}'
with_filetree: web/
when: item.state == 'link'
s™
_raw:
description: list of dictionaries with file information
contains:
src:
description:
- full path to file
- not returned when C(item.state) is set to C(directory)
root:
description: allows filtering by original location
path:
description: contains the relative path to root
mode:
description: TODO
state:
description: TODO
owner:
description: TODO
group:
description: TODO
seuser:
description: TODO
serole:
description: TODO
setype:
description: TODO
selevel:
description: TODO
uid:
description: TODO
gid:
description: TODO
size:
description: TODO
mtime:
description: TODO
ctime:
description: TODO
N( t
LookupBase( t to_nativet to_text( t Displayc C` s‚ d d d d g } t r~ t j ƒ r~ y t j t | ƒ ƒ } Wn t k
rQ | SX| d d k r~ | d j d d ƒ } q~ n | S( Ni iÿÿÿÿi t :i ( t Nonet HAVE_SELINUXt selinuxt is_selinux_enabledt lgetfilecon_rawR t OSErrort split( t patht contextt ret( ( sC /usr/lib/python2.7/site-packages/ansible/plugins/lookup/filetree.pyt selinux_contextn s
c C` s: t j j | | ƒ } y t j | ƒ } Wn+ t k
rU } t j d | | f ƒ d SXt d | d | ƒ } t j
| j ƒ r d | d