본문 바로가기
반응형

AWS89

CH04_10. 상세 (Facts) 이번 시간에는 앤서블의 Facts에 대해 알아보자 https://docs.ansible.com/ansible/latest/user_guide/playbooks_vars_facts.html Discovering variables: facts and magic variables — Ansible Documentation With Ansible you can retrieve or discover certain variables containing information about your remote systems or about Ansible itself. Variables related to remote systems are called facts. With facts, you can use the beha.. 2022. 6. 17.
CH04_09. 조건문 (Conditional) 이번 시간에는 앤서블 조건문에 대해 알아보자 https://docs.ansible.com/ansible/latest/user_guide/playbooks_conditionals.html Conditionals — Ansible Documentation In a playbook, you may want to execute different tasks, or have different goals, depending on the value of a fact (data about the remote system), a variable, or the result of a previous task. You may want the value of some variables to depend on the value d.. 2022. 6. 17.
CH04_08. 반복문 (Loop) 이번 시간에는 앤서블 반복문에 대해 알아보자 https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html Loops — Ansible Documentation Loops Ansible offers the loop, with_ , and until keywords to execute a task multiple times. Examples of commonly-used loops include changing ownership on several files and/or directories with the file module, creating multiple users with the user module, a docs.ansible.c.. 2022. 6. 17.
CH04_07. 변수 (Variables) 이번 시간에는 앤서블 변수에 대해 알아보자 아래 링크는 앤서블 변수에 대한 공식 문서이다. https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html Using Variables — Ansible Documentation Using Variables Ansible uses variables to manage differences between systems. With Ansible, you can execute tasks and playbooks on multiple different systems with a single command. To represent the variations among those different .. 2022. 6. 17.
반응형