티스토리 뷰
반응형
파일 내용 수정하는 playbook입니다. 컨피그 등의 수정이 필요할 시 용의 합니다
--- .
- hosts: all
tasks:
- name: editfle modify line
replace:
path: /tmp/file
regexp: "fendys"
replace: "#fendys"
[root@grafana playbook]#

반응형
'ansible' 카테고리의 다른 글
| ansible 간단 명령어 (0) | 2021.08.18 |
|---|---|
| ansible key copy (0) | 2021.08.05 |
| [Ansible] ansible /etc/sudoers line 추가하기 (0) | 2020.02.21 |
| [Ansible] How to ansible install (0) | 2019.11.22 |
| [Ansible] file modify (0) | 2019.08.01 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- nutanix rac
- DL20 GEN9 장비에 CentOS 7
- dl20
- cmd로 계정 생성
- 윈도우 cmd 계정 관리
- chrony
- ansible ios
- windows.old 강제삭제
- kernel 변경
- shell connmad log
- vm rac
- cisco ansible
- ILO
- centos7 ntp
- ISCSI 볼륨 RAC
- linux command log
- nxos ansible
- cmd로 윈도우 계정 관리
- cgroup
- 윈도우서버 계정 관려
- ipmi
- 리눅스 커맨드 로그남기기
- 특정 라인삭제
- ansible network
- ios ansible
- 특정 문구 치환
- CentOS 7 GUI
- dl20 g9 centos7 설치
- oracle linux8 kernel
- dl20 centos7
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
