Change names

This commit is contained in:
TC1977 2019-05-20 10:36:22 -04:00 committed by GitHub
parent caee2bfa12
commit a623f9593b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@
tasks:
- block:
- name: Get list of installed servers
- name: Get list of installed config files
find:
paths: configs/
depth: 2
@ -16,7 +16,7 @@
patterns: ".config.yml"
register: _configs_list
- name: Build list of installed servers
- name: Build string of installed servers
set_fact:
server_list: "{% if server_list is defined %}{{ server_list }},{% endif %}{{ item.path|replace('configs/','')|replace('/.config.yml','') }}"
with_items: "{{ _configs_list.files }}"