일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- pacman
- Linux
- Ansible
- ubuntu
- ceph
- Docker
- golang
- i3
- libvirt
- k8s
- terraform
- grafana-loki
- HTML
- kolla-ansible
- kolla
- Kubernetes
- port open
- cloud-init
- repository
- awx
- Arch
- nfs-provisioner
- Kubeflow
- cephadm
- ceph-ansible
- yum
- Octavia
- KVM
- archlinux
- OpenStack
- Today
- Total
목록Ansible (5)
YJWANG

https://docs.ansible-semaphore.com/administration-guide/installation#docker Ansible-semaphore는 AWX, ansible-tower와 같은 ansible을 관리하기 위한 software입니다. AWX의 docker 설치하는 hot-potato 환경이 편리하거나 안정적이지 않다 생각하여 대안으로 ansible-semaphore를 사용하고자합니다. 1. 사전 작업 1) docker 설치 https://yjwang.tistory.com/132 2) docker-compose 설치 https://yjwang.tistory.com/153 3) ansible 설치 # apt install ansible 2. Ansible-semaphore 설치..
Ansible Command 설치 # apt update # apt install ansible Ansible Ad-Hoc Command 실행 '/data' 로 NFS dir를 사용한다는 가정하에 구성됐으니 환경에 맞게 변경하여 사용하시기 바랍니다. Install NFS Package # ansible -m apt -a 'name=nfs-kernel-server state=present' localhost Create Directory # ansible -m file -a 'path=/data state=directory mode=0777' localhost LineInFIle # ansible -m lineinfile -a 'path=/etc/exports line="/data *(rw,no_root_..

ansible-semaphore도 한 번 사용해보시기바랍니다. https://yjwang.tistory.com/205 전체적으로 설치가 느리네요.. 여유를 가지고 설치 진행하시기 바랍니다. 18.0.0 버전부터 발생 중인 BUG가 있어 설치 중 Fix를 진행하니 차례대로 따라 진행해보시기 바랍니다. awx-operator로 하는것이 훨씬 안정적이네요 docker 위에 설치하면 추가로 설정해주어야 template이 정상적으로 실행됩니다. 비추합니다. References https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md Deployment Clone AWX git project # git clone -b 19.1.0 https:..
NFS Server 구성 Playbook 해당 playbook을 실행하면 지정한 node의 /data를 export 합니다. 사용법 # ansible-playbook -i nfs_server.yaml Customization # path 및 line을 변경하여 권한과 directory를 변경하세요 - name: Create Exported Directory file: path: /data state: directory mode: '0777' lineinfile: path: /etc/exports line: '/data *(rw,no_root_squash,sync)' # hosts를 변경하여 다른 host에 실행하도록 하세요 hosts: master01결과 수행 결과 제일 아래..
공식페이지_링크 ansible_port The ssh port number, if not 22 ansible_user The default ssh user name to use. ansible_ssh_pass The ssh password to use (never store this variable in plain text; always use a vault. See Variables and Vaults) ansible_ssh_private_key_file Private key file used by ssh. Useful if using multiple keys and you don’t want to use SSH agent. ansible_become Equivalent to ansible_sudo o..