본문 바로가기 메뉴 바로가기

fendys

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

fendys

검색하기 폼
  • ALL fendys write (151)
    • AWS (21)
    • linux (93)
    • security (0)
    • ansible (13)
    • monitoring (2)
    • VM (0)
    • DB (4)
    • windows (4)
    • it (12)
    • 가상화폐 (0)
  • 방명록

ansible (13)
[Ansible] How to ansible install

설치 환경 : CentOS7 x86_64 설치 방법 1. pip install [root@ANSIBLE-SERVER ~]#curl -fsSL https://bootstrap.pypa.io/get-pip.py | python2 errno13번 발생 시 관리자 권한으로 싱행 하셔야됩니다. (root 유저 또는 sudo 이용) 2. ansible install 2-1. ansible install [root@ANSIBLE-SERVER ~]#pip2 install ansible 2-2. ansible update [root@ANSIBLE-SERVER ~]#pip2 install -U ansible 3. 설치 확인 방법 [root@ANSIBLE-SERVER ~]# ansible localhost -m ping [..

ansible 2019. 11. 22. 15:38
[Ansible] file modify

엔서블을 이용해 sshd_config 파일을 수정해보자 본내용은 sshd root로 직접 로그인을 할 수 없게 컨피그 파일을 수정 하는 내용이다. play-book 실행

ansible 2019. 8. 1. 23:48
[Ansible] userdel on linux

ansible 을 이용해 특정 유저를 삭제 하는 방법 명령 : ansible-playbook -i hosts userdel.yml -K lp, uucp, nuucp 유저 삭제 결과

ansible 2019. 7. 19. 19:10
[Ansible] file copy on linux

* ansible를 이용해서 간단하게 파일을 카피하는 방법입니다. * 실행 방법 #ansible-playbook -i hosts cpfile.yml -K * 설명 /tmp/file을 /tmp/cp-file로 파일명을 변경 하여 카피 합니다. src : 카피할 원본파일 위치 및 파일명 dest : 카파한 파일 위치 및 파일명 * 결과

ansible 2019. 7. 19. 18:52
[Ansible] useradd & make passwd

엔서블을 이용하여 다수 서버에 동일한 계정을 생성 하기 위해 사용합니다. 1. playbook yml 파일과 hosts 파일을 동일한 폴더에 두었습니다. 2. 리모트 유저인 fendys는 ssh key-gen 설정을 하여 -k -K 를 사용하지 않았습니다. 3. sudo 명령 사용을 위해 sudoers에는 fendys유저 NOPASSW:ALL 설정을 해두었습니다. hosts 파일예제 ...더보기 [server] 192.168.0.1 192.168.0.2 192.168.0.3 YML 파일 예제(useradd.yml) ...더보기 --- - hosts: server remote_user: fendys become: true vars: # created with: # 1. pip install passlib ..

ansible 2019. 6. 24. 00:36
이전 1 2 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • [여행] warmfree
  • [재미] wowns
TAG
  • 윈도우 cmd 계정 관리
  • cgroup
  • cisco ansible
  • kernel 변경
  • ISCSI 볼륨 RAC
  • cmd로 계정 생성
  • nxos ansible
  • 윈도우서버 계정 관려
  • ipmi
  • ILO
  • 특정 문구 치환
  • windows.old 강제삭제
  • 리눅스 커맨드 로그남기기
  • chrony
  • CentOS 7 GUI
  • DL20 GEN9 장비에 CentOS 7
  • nutanix rac
  • 특정 라인삭제
  • dl20
  • ios ansible
  • ansible ios
  • dl20 g9 centos7 설치
  • dl20 centos7
  • vm rac
  • shell connmad log
  • ansible network
  • linux command log
  • centos7 ntp
  • cmd로 윈도우 계정 관리
  • oracle linux8 kernel
more
«   2025/12   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바