Better naming for recurrent tasks

This commit is contained in:
Anton Nerozya
2017-06-29 19:46:27 +02:00
parent 5e1ac9ce87
commit c8258171ca
4 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@
state: directory
when: inventory_hostname not in sync_file_srcs
- name: "sync_file | Copy the file to hosts that don't have it"
- name: "sync_file | Copy {{ sync_file_path }} to hosts that don't have it"
copy:
content: "{{ sync_file_contents }}"
dest: "{{ sync_file_path }}"
@@ -37,7 +37,7 @@
owner: "{{ sync_file_owner|d('root') }}"
when: inventory_hostname not in sync_file_srcs
- name: "sync_file | Copy the key file to hosts that don't have it"
- name: "sync_file | Copy {{ sync_file_key_path }} to hosts that don't have it"
copy:
content: "{{ sync_file_key_contents }}"
dest: "{{ sync_file_key_path }}"