Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- HBase
- 문제풀이
- codewars
- 자바
- DP
- OOM
- zookeeper
- 프로그래머스
- 튜토리얼
- docker
- boj
- golang
- 파이썬
- scala
- 주키퍼
- 알고리즘
- 스칼라
- Linux
- Python
- 코드워
- programmers
- gradle
- 동적프로그래밍
- leetcode
- dynamic programming
- redis
- Go언어
- go
- Java
- 리눅스
Archives
- Today
- Total
목록ansible (1)
파이문
[Ansible] 디렉토리 생성 하기
서버에 환경 설정 배포할 일이 있는데 그동안 ssh 나 fabric 이나 이런것들로만 하다가 ansible 을 써보기로 했다. (ansible 1일차) test 란 유저로 /path/to/test 란 디렉토리를 생성하는 예제이다. (become 옵션을 yes 로 하면 sudo 권한을 준 것과 같다.) # # # 디렉토리 생성 예제 # # - hosts: tester remote_user: test tasks: - name: Create a test1 directory if it does not exist become: yes file: owner: test group: test path: /path/to/test1 state: directory mode: 0755 hosts 란 키 값에 tester 를 ..
TIL
2020. 9. 17. 18:26