From 1a85b731c4502a9bf5c553750a3e8414899e1ee8 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 13 Jul 2015 13:36:06 +0000 Subject: [PATCH] Tag ssh keys play in cloud setup. This allows us to run this over all the cloud nodes when a key changes. --- tasks/cloud_setup_basic.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/cloud_setup_basic.yml b/tasks/cloud_setup_basic.yml index 9784830e74..d99191a175 100644 --- a/tasks/cloud_setup_basic.yml +++ b/tasks/cloud_setup_basic.yml @@ -36,12 +36,14 @@ - /srv/web/infra/ansible/roles/base/files/ansible-pub-key tags: - config + - sshkeys - name: add root keys for sysadmin-main and other allowed users authorized_key: user=root key="{{ item }}" with_lines: "/srv/web/infra/ansible/scripts/auth-keys-from-fas @sysadmin-main {{ root_auth_users }}" tags: - config + - sshkeys ignore_errors: true - name: enable ssh_sysadm_login sebool