Ansible-Puppet-Chef
[ansible] copy mode 주의사항
'김용환'
2019. 1. 14. 20:37
- name: copy index.html
copy:
src: files/index.html
dest: /usr/share/nginx/html/index.html
mode: "0644"
mode 매개 변수를 0으로 시작하지 않거나 문자열로 인용하면 앤서블은 이 값을 8진수가 아닌 10진수로 해석하고 예상한 대로 파일 사용 권한을 설정하지 않는다. 자세한 내용은 깃허브(http://bit.ly/1GASfbl)를 참조한다.