hidden:Plays and playbooks: Difference between revisions

From Lsdf
Jump to navigationJump to search
(Created page with "The Ansible layout on hpa uses roles to group tasks and host functions. The tasks are grouped in each main.yml file in the roles directory: Ansible/roles/<function>/task/ma...")
 
mNo edit summary
Line 1: Line 1:
The Ansible layout on hpa uses roles to group tasks and host functions. The tasks are grouped in each main.yml file in the roles directory:
The Ansible layout on hpa uses [http://docs.ansible.com/ansible/playbooks_roles.html 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
Ansible/roles/<function>/task/main.yml


The common role has tasks for setting up the automounter and rsyslog.
The common role has tasks for setting up ntp, gcc and rsyslog. The directory structure is currently

Ansible/
roles/
common/
default/
main.yml
tasks/
main.yml
autofs/
hpss/

Revision as of 01:07, 27 June 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/
               common/
                     default/
                             main.yml
                     tasks/
                           main.yml
               autofs/
               hpss/