Ansible 01 – Basic Settings
Configure ansible
- Create folders
|
|
- Create
ansible.cfg
configure file
|
|
- Create
inventory/vagrant.ini
|
|
Ansilbe command
|
|
Ansible Modules
Key | value |
---|---|
Package | Installs or removes packages by using the host’s package manager |
copy | Copies a file from the machine where you run Ansible to the web servers |
file | Sets the attribute of a file, symlink, or directory |
service | Starts, stop, or restarts a service |
template | Geenerates a file from a template and copies it to the hosts |
|
|