cisco-ansible

ansible scripts for cisco instances
Log | Files | Refs | git clone https://git.ne02ptzero.me/git/cisco-ansible

commit 14a5b2c036aa2e41e256659332d390adcb4b077e
parent 642a32892e1f36002d5f4f1de4d71c16d8a61246
Author: Louis Solofrizzo <louis@ne02ptzero.me>
Date:   Sun, 24 Mar 2019 18:00:53 +0100

Add SSH Key and systemd service enabling

Signed-off-by: Louis Solofrizzo <louis@ne02ptzero.me>

Diffstat:
Minit.yml | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/init.yml b/init.yml @@ -5,3 +5,12 @@ package: name: openssh-server state: present + - name: Add SSH proxy SSH key + authorized_key: + user: root + key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSNqv/JTWVmWWnmg0eTu3VDAHaeej7rXjl8iFtEt7vOpYSnJ4vkZji18Tyt6Eg6VBfRn6tw2wDx7xc2/BOLgqLYPOLic8K2uYCtzdGjvUAEiXvvmVol740XGm+0cn6EEWepJFBrTMNIQxSlj/7egVuj92J34TxfeF7rmhn0srCfbo589pXnjh0xxsrywediLb2Q6AMBfaWGaHCIBmi89WOuMI3IEnJDjHjYPFYE3pLiQNSSrHkRyyCGvCVw78oLn9bSrI+KGXzBnTkd2rroVlnvfDAbwmfhK+2PrOCxqia7fsbWiUCUpeWF0b06ZTEVdYx1QvI3aDUf+CDa8Q1hKpd sshportal" + - name: Enable and Start sshd + systemd: + name: sshd + state: started + enabled: yes