hidden:Plays and playbooks: Difference between revisions
From Lsdf
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 7: | Line 7: | ||
Ansible/ |
Ansible/ |
||
roles/ |
roles/ |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
autofs/ |
autofs/ |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
defaults/ |
|||
| ⚫ | |||
main.yml |
|||
gcc.yml |
|||
ntp.yml |
|||
rsyslog.yml |
|||
stop_unneeded_procs.yml |
|||
db/ |
|||
etc_hosts/ |
|||
tasks/ |
|||
| ⚫ | |||
hpss/ |
hpss/ |
||
Latest revision as of 19:16, 29 November 2016
The Ansible layout on hpa uses Ansible roles to group tasks and host functions. The tasks are grouped in each main.yml file in the roles directory:
Ansible/roles/<function>/task/main.yml
The common role has tasks for setting up ntp, gcc and rsyslog. The directory structure is currently
Ansible/
roles/
autofs/
tasks/
main.yml
common/
defaults/
tasks/
main.yml
gcc.yml
ntp.yml
rsyslog.yml
stop_unneeded_procs.yml
db/
etc_hosts/
tasks/
main.yml
hpss/