์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- ์ค์๋ธ
- ๋น ๋ฐ์ดํฐ
- airflow
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- kudu
- ์ค์นผ๋ผ ๋ถ
- ๋ฆฟ์ฝ๋
- ๋ฆฌ๋ ์ค
- ์๋ผ์คํฑ์์น
- aws ccp
- ์ฑ๊ธ์๋ฒ
- ํ๋ก์์ฝ์์คํ
- ํ์ด๋ธ
- ์ํ์น ์คํํฌ
- ํด ์ค์น
- elastic stack
- rpmbuild
- LeetCode
- ํ๋ก์ค์น
- ํ๋ก
- ๋ฆฌ๋ ์ค RPM
- Apache spark
- HBase
- CLF-C02
- standalone
- ์คํํฌ
- hadoop
- ์ค์๋ธ ์ค์น
- ansible
- BIGDATA
- Today
- Total
๋ชฉ๋กansible (3)
data_lab
ansible-playbook -i hosts ex.yml -i ์ต์ ์ผ๋ก ํธ์คํธ ํ์ผ ์์ ์๋ ์๊ฒฉ์ง๋ก ์ผ๋ฏํ์ผ ์คํ๋จ ansible-playbook hosts ex.yml --skip-tags tags ์ผ๋ฏํ์ผ์ ์์ฑ ๋ ํ๊ทธ๋ฅผ ์ฝ์ด์ ํด๋น ํ๊ทธ๊น์ง task ์๋ต๋จ
ansible ๋๋ ํฐ๋ฆฌ ๊ตฌ์กฐ /etc/ansible - ansible ํ hosts - ansible inventory ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ๋ ๋ฆด ์๊ฒฉ ์๋ฒ ๋ชจ์ ansible.cfg - ansible ํ๊ฒฝ ์ค์ ์ผ๋ก sh ์คํ sh,bash ์ผ์ง ์ ํํ๊ฑฐ๋ ansible ๋ก๊ทธ ๋จ๊ธฐ๋ ๋๋ ํฐ๋ฆฌ ์ค์ roles - ansible ์คํํ playbook ๋ชจ์ (task ๋ชจ์์ด๋ผ๊ณ ์๊ฐํ๋ฉด ๋จ) mysql tasks - mysql ์ค์นํ๋ task ๋ชจ์ templates - mysql ์ค์น ํ ํ๊ฒฝ ์ธํ ํ๋ ํ์ผ ๋ชจ์ (ex : my.ini) handlers - mysql service ์คํ example_site.yml - roles์ ์์ฑ๋ tasks ์คํํ ํ์ผ ํด๋น ์ฝ๋๋ github๋ฅผ ์ฐธ์กฐํ์์ https:/..
https://docs.ansible.com/ansible/latest/index.html Ansible Documentation โ Ansible Documentation ยฉ Copyright Ansible project contributors. Last updated on Jun 07, 2021. docs.ansible.com ์ค์น์ ์๊ตฌ ์ฌํญ you can use any machine with Python 2 (version 2.7) or Python 3 (versions 3.5 and higher) installed ์ค์นํ๊ฒฝ์ Cent OS๋ก ์งํํ์๋ค. 1 2 $ sudo yum install epel-release $ sudo yum install ansible cs /etc/ansible ์ด..