Revert "generate static & dhcp network config"
[plbootconf.git] / local.yml
1   - hosts: 127.0.0.1
2     connection: local
3        
4     tasks: 
5       - name: Generate rsa key
6         command: ssh-keygen -P '' -t rsa -f /etc/ssh/ssh-host-rsa-key creates=/etc/ssh/ssh-host-rsa-key
7
8       - name: Generate dsa key
9         command: ssh-keygen -P '' -t dsa -f /etc/ssh/ssh-host-dsa-key creates=/etc/ssh/ssh-host-dsa-key
10         
11       - name: Generate ecdsa key
12         command: ssh-keygen -P '' -t ecdsa -f /etc/ssh/ssh-host-ecdsa-key creates=/etc/ssh/ssh-host-ecdsa-key
13
14       - name: Run sshd
15         service: name=ssh state=started