Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:ansible [2024/02/23 11:25] – [Configuration] darron | tools:ansible [2025/03/27 13:37] (current) – [Ansible automation] darron | ||
---|---|---|---|
Line 3: | Line 3: | ||
Ansible is an automation tool, a secure shell frontend with expect like functionality. Due to it using | Ansible is an automation tool, a secure shell frontend with expect like functionality. Due to it using | ||
SSH it's a very simple service to utilise and requires only python to be installed on | SSH it's a very simple service to utilise and requires only python to be installed on | ||
- | each managed machine. SSH should | + | each managed machine. SSH should be configured using authorized keys and is not documented here. |
It is recommended to develop the process manually before implementing it in Ansible to allow understanding | It is recommended to develop the process manually before implementing it in Ansible to allow understanding | ||
Line 260: | Line 260: | ||
update_cache: | update_cache: | ||
upgrade: full | upgrade: full | ||
+ | </ | ||
+ | |||
+ | And, another to update REDHAT, Eg. Oracle Linux | ||
+ | |||
+ | __redhat_update.yml__ | ||
+ | |||
+ | < | ||
+ | --- | ||
+ | - hosts: VM_REDHAT | ||
+ | become: yes | ||
+ | tasks: | ||
+ | - name: UPDATE | ||
+ | yum: | ||
+ | name: ' | ||
+ | state: latest | ||
</ | </ | ||