From: Mark Wooding Date: Mon, 13 Jul 2015 09:43:19 +0000 (+0100) Subject: roles/common/*.yml: More trailing `/'s on directory names. X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-ansible/commitdiff_plain/90f05477844d2f94c3e104ef655e23fcb5fab229 roles/common/*.yml: More trailing `/'s on directory names. --- diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index 1b35e24..bf0b933 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -16,7 +16,7 @@ ###-------------------------------------------------------------------------- ### Rebuliding remote configuration files. -- name: make in /root/.ssh - command: make chdir=/root/.ssh +- name: make in /root/.ssh/ + command: make chdir=/root/.ssh/ ###----- That's all, folks -------------------------------------------------- diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 9c2f2f1..e740eaa 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -9,7 +9,7 @@ - name: fix permissions in /root tags: [perms, root-perms] - file: name=/root mode=0750 owner=root group=root + file: path=/root/ mode=0750 owner=root group=root ###-------------------------------------------------------------------------- ### PKI machinery. @@ -70,12 +70,12 @@ - name: install main keys for root SSH access tags: [ssh, ssh-root] template: src=ssh-root/authkeys.base dest=/root/.ssh/authkeys.base - notify: make in /root/.ssh + notify: make in /root/.ssh/ - name: install keys for root SSH access tags: [ssh, ssh-root] copy: src=ssh-root/{{ item }} dest=/root/.ssh/ - notify: make in /root/.ssh + notify: make in /root/.ssh/ with_items: - Makefile - config.m4