state=running is deprecated. using state=started

This commit is contained in:
Farhad Shahbazi
2017-09-05 14:52:26 +02:00
parent 81cab4523a
commit 63fbafde7f

View File

@@ -4,7 +4,7 @@
apt: name=openssh-server
- name: openssh - start and enable
service: name=ssh state=running enabled=yes
service: name=ssh state=started enabled=yes
- name: openssh - config
template: dest=/etc/ssh/sshd_config src=sshd_config.j2 owner=root group=root mode=0600