Browse Source

use ssh_server role in prepare_host

python3
Andrea Cimbalo 7 years ago
parent
commit
45bba1bb0a
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      prepare_host.yaml

+ 3
- 5
prepare_host.yaml View File

@ -1,5 +1,7 @@
---
- hosts: vm_hosts
roles:
- role: ssh_server
vars:
management_vlan: 9
virtual_machine_vlan: 13
@ -54,10 +56,6 @@
- name: restart networking
service:
name: networking
state: reloaded
state: restarted
- name: restart lvm
shell: /etc/init.d/lvm2 reload
- name: restart sshd
service:
name: networking
state: reloaded

Loading…
Cancel
Save