소스 검색

Merge pull request #2269 from abutcher/etcd-certs-become

Set become=no for etcd server certificates temporary directory.
Scott Dodson 8 년 전
부모
커밋
7c69716224
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      roles/etcd_server_certificates/tasks/main.yml

+ 2 - 0
roles/etcd_server_certificates/tasks/main.yml

@@ -93,6 +93,7 @@
 
 - name: Create local temp directory for syncing certs
   local_action: command mktemp -d /tmp/etcd_certificates-XXXXXXX
+  become: no
   register: g_etcd_server_mktemp
   changed_when: False
   when: etcd_server_certs_missing | bool
@@ -131,6 +132,7 @@
 
 - name: Delete temporary directory
   file: name={{ g_etcd_server_mktemp.stdout }} state=absent
+  become: no
   changed_when: False
   when: etcd_server_certs_missing | bool
   delegate_to: localhost