본문 바로가기

728x90

전체 글

[Ansible] ansible-config 명령 ansible-config 명령 ansible-config -h $ ansible-config -h usage: ansible-config [-h] [--version] [-v] {list,dump,view,init} ... View ansible configuration. positional arguments: {list,dump,view,init} list Print all config options dump Dump configuration view View configuration file init Create initial configuration optional arguments: --version show program's version number, config file location, .. 더보기
[Ansible] ansible-doc 명령 ansible-doc 명령 : plugin documentation tool ansible-doc 사용법 ansible-doc -h $ ansible-doc -h usage: ansible-doc [-h] [--version] [-v] [-M MODULE_PATH] [--playbook-dir BASEDIR] [-t {become,cache,callback,cliconf,connection,httpapi,inventory,lookup,netconf,shell,vars,module,strategy,role,keyword}] [-j] [-r ROLES_PATH] [-e ENTRY_POINT | -s | -F | -l | --metadata-dump] [plugin [plugin ...]] plugin doc.. 더보기
[제품] ipTIME AX2004BCM 유무선공유기 ipTIME AX2004BCM 유무선공유기 2022년 10월 21일 가격비교 참고URL - http://iptime.com/iptime/?page_id=11&pf=2&page=&pt=495&pd=1 더보기
Ansible 인벤토리를 YAML 파일로 설정하는 방법 Ansible 인벤토리를 YAML 파일로 설정하는 방법 YAML 파일을 사용하여 호스트 그룹 및 호스트에 대한 정보를 정의할 수 있습니다. 기본적인 YAML 형식의 Ansible 인벤토리 예제 Ansible 인벤토리 파일 편집 vim hosts.yml --- all: # all 그룹 정의 hosts: webserver: ansible_host: 192.168.1.10 ansible_user: ubuntu ansible_ssh_private_key_file: /path/to/private_key.pem database: ansible_host: 192.168.1.11 ansible_user: centos ansible_password: your_password webservers: # webservers .. 더보기
[url] 도커 허브(docker hub) 도커 허브(docker hub) https://hub.docker.com/ Docker Hub Container Image Library | App Containerization Build and Ship any Application Anywhere Docker Hub is the world's easiest way to create, manage, and deliver your team's container applications. hub.docker.com 더보기
Ansible 구성 설정(Configuration Settings) 파일의 우선 순위에 대한 설명 Ansible 구성 설정(Configuration Settings) 파일의 우선 순위에 대한 설명 구성 설정 파일(ansible.cfg)의 우선 순위 1. 환경 변수 (Environment Variables) Ansible은 ANSIBLE_CONFIG 환경 변수를 통해 구성 파일의 경로를 지정할 수 있습니다. 이 환경 변수가 설정되어 있으면 해당 경로의 구성 파일이 사용됩니다. export ANSIBLE_CONFIG=/path/to/your/ansible.cfg 2. 커맨드 라인 인수 (Command Line Arguments) ansible-playbook이나 ansible 명령을 실행할 때 -i나 -e와 같은 인수를 사용하여 구성을 지정할 수 있습니다. 이는 명령이 실행되는 동안 구성을 임시로 설정하.. 더보기
[원도우] 원도우 11 wsl 우분투 ssh server 활성화 원도우 11 wsl 우분투 ssh server 활성화 ssh 데몬(서비스) 실행 ❯ sudo service ssh start * Starting OpenBSD Secure Shell server sshd sshd: no hostkeys available -- exiting. [fail] openssh 패키지 확인 sudo apt list | grep openssh ❯ sudo apt list | grep openssh WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libconfig-model-openssh-perl/focal 2.8.0.1-1 all libghc-crypto-pubkey-openssh-dev/.. 더보기
원도우 11 wsl와 vscode연동하기 원도우 11 wsl와 vscode연동하기 wsl(Windows Subsystem for Linux) wsl -l -v > wsl -l -v NAME STATE VERSION * Ubuntu Running 2 VSCode 연동 Remote - SSH extension 설치 ubuntu 배포 시스템에서 아래와 같이 명령을 입 code . 무슨 일이야 ㅠ https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips Ubuntu WSL 셸을 열어 wget 및 ca-인증서를 추가 sudo apt-get update && sudo apt-get install wget ca-certificates WSL 확장에서 사용하는 배포 선택 wslconfig /se.. 더보기

728x90
반응형