cisco-ansible

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

commit 0257b2b00774aca55b0960755458d0648476b56f
parent 14a5b2c036aa2e41e256659332d390adcb4b077e
Author: Louis Solofrizzo <louis@ne02ptzero.me>
Date:   Sun, 24 Mar 2019 19:06:01 +0100

Add ArchLinux templating for ssh

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

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

diff --git a/init.yml b/init.yml @@ -5,6 +5,12 @@ package: name: openssh-server state: present + when: ansible_facts['os_family'] == "Debian" + - name: Install sshd + package: + name: openssh + state: present + when: ansible_facts['os_family'] == "Archlinux" - name: Add SSH proxy SSH key authorized_key: user: root