main.yml 425 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
- name: enable sshd
  become: yes
  service: name=sshd enabled=yes

- name: restart sshd
  become: yes
  service: name=sshd state=restarted

- name: reload sshd
  become: yes
  service: name=sshd state=reloaded

- name: start sshd
  become: yes
  service: name=sshd state=started

- name: enable ntp
  become: yes
  service: name=ntpdate enabled=yes

- name: start ntp
  become: yes
  service: name=ntpdate state=started