From 6794fdc28bfad442810a0e583d9f29668b772877 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Fri, 19 Oct 2012 20:17:20 +0000 Subject: [PATCH] add a restorecon on the ssh keys for those silly people who like selinux and security :) --- tasks/cloud_setup_basic.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/cloud_setup_basic.yml b/tasks/cloud_setup_basic.yml index 88d1f56a3c..8c6cc5d274 100644 --- a/tasks/cloud_setup_basic.yml +++ b/tasks/cloud_setup_basic.yml @@ -31,6 +31,12 @@ tags: - config +# note - kinda should be a handler - but handlers need args +- name: restorecon + action: command restorecon -R /root/.ssh + tags: + - config + - name: put /dev/vda2 up as /mnt action: mount name=/mnt src=/dev/vda2 fstype=ext3 passno=1 dump=1 state=mounted