Skip to content

Commit c3041e0

Browse files
committed
Tiny changes
1 parent 92b804c commit c3041e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wakeonlan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# vars:
1111
# wake_server: localhost
1212
vars:
13-
macaddress: '{{ ansible_interfaces[0].macaddress|default(mac|default("")) }}'
13+
macaddress: "{{ (ansible_interfaces|first).macaddress|default(mac|default('')) }}"
1414

1515
tasks:
1616
- name: Send magic Wake-On-Lan packet to turn on individual systems via gateway {{ wake_server }}
@@ -39,6 +39,7 @@
3939

4040
- hosts: computers
4141
gather_facts: no
42+
tags: test
4243
tasks:
4344
- name: Wait for the system's WinRM service to come online
4445
wait_for_connection:

0 commit comments

Comments
 (0)