init
This commit is contained in:
commit
c5cd492449
475 changed files with 27928 additions and 0 deletions
9
technology/tools/Ansible/tests/ansible.builtin.exists.md
Normal file
9
technology/tools/Ansible/tests/ansible.builtin.exists.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# ansible.builtin.exists
|
||||
Check if the provided path maps to an existing filesystem object on the controller (localhost).
|
||||
|
||||
## Examples
|
||||
```yml
|
||||
vars:
|
||||
my_etc_hosts_exists: "{{ '/etc/hosts' is exist }}"
|
||||
list_of_local_files_to_copy_to_remote: "{{ list_of_all_possible_files | select('exists') }}"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue