Changes

Jump to: navigation, search

OPS435 Ansible

74 bytes added, 02:13, 26 November 2018
Key Concepts when using Ansible
playbook - contains one or multiple plays, each of which define the work to be done for a configuration on a managed server. Playbooks are written in YAML. Every play in the playbook is created with environment-specific parameters for the target machines; there are no standard plays.
* Inventory file - defines the hosts and groups of hosts upon which commands, modules, and tasks in a playbook operate.
* Hosts file - contains information about machines to be managed- click [[OPS435 Sample Ansible Hosts file | here]] for sample hosts file
* Ad hoc commands
** <u><b>shell commands</b></u>
1,760
edits

Navigation menu