Changes

Jump to: navigation, search

Ops535 ansible lab

No change in size, 01:00, 29 January 2021
Key Concepts when using Ansible
*** ansible 192.168.49.3 -m copy -a "src=/home/rchan/ops535/ansible.txt dest=/tmp/ansible.txt"
** <u><b>Package management</b></u>
*** ansible 192.168.49.3 -m yum dnf -a "name=bind state=latest"
* Playbooks - contains one or multiple plays, each play defines a set of repeatable tasks on one or more managed machines. Playbooks are written in YAML. Every play in the playbook is created with environment-specific parameters for the target machines:
** ansible-playbook -i 192.168.49.3, setup_webserver.yaml
1,760
edits

Navigation menu