Skip to content

Commit bad5a17

Browse files
committed
modified roles and playlist according to comments
1 parent 6e565ae commit bad5a17

4 files changed

Lines changed: 19 additions & 18 deletions

File tree

ansible/ntp.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

ansible/oneOffScripts/ntp.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
- hosts: all
3+
gather_facts: no
4+
5+
roles:
6+
- { role: package_ntp, tags "ntp" }
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
- hosts: all
3+
gather_facts: no
4+
5+
- fail: msg="`name` needs to be defined for this role"
6+
when: name is not defined
7+
8+
tasks:
9+
name : restart {{ name }}
10+
sudo: yes
11+
service:
12+
name={{ name }}
13+
state=restarted

ansible/restart_service.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)