소스 검색

Add useful names + fix defaults in ssh-keys

pull/1/head
Chris Smith 10 년 전
부모
커밋
8c084feb87
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      playbooks/includes/ssh-keys

+ 3
- 3
playbooks/includes/ssh-keys 파일 보기

@@ -1,13 +1,13 @@
1 1
 ---
2 2
 # Maintains a set of SSH keys
3 3
 
4
-- name: add authorized keys
4
+- name: add {{ key_dir }}'s authorized keys for {{ user }}
5 5
   authorized_key: user={{ user }}
6 6
                   key="{{ lookup('file', item) }}"
7 7
   with_fileglob:
8
-    - /etc/ansible/data/keys/{{ key_dir }}/{{ type | default(active) }}/*
8
+    - /etc/ansible/data/keys/{{ key_dir }}/{{ type | default('active') }}/*
9 9
 
10
-- name: revoke old authorized keys
10
+- name: revoke {{ key_dir }}'s old authorized keys for {{ user }}
11 11
   authorized_key: user={{ user }}
12 12
                   key="{{ lookup('file', item) }}"
13 13
                   state=absent

Loading…
취소
저장