-
Notifications
You must be signed in to change notification settings - Fork 771
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from dplore/master
Adding ansible readme for proposed folder structure
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# file: ansible/README | ||
# Ansible top level file and directory structure | ||
# adapted from http://docs.ansible.com/ansible/playbooks_best_practices.html | ||
|
||
prod # inventory file for production servers | ||
pre_prod # inventory file for staging environment | ||
lab # inventory file for test lab environment | ||
|
||
group_vars/ | ||
prod # here we assign variables to particular groups | ||
pre_prod # groups can be environments, geographical, role based | ||
lab | ||
|
||
host_vars/ | ||
hostname1 # if an individual system must have specific variables, put them here | ||
hostname2 # (use of host_vars should be avoided) | ||
|
||
library/ # if any custom modules, put them here (optional) | ||
filter_plugins/ # if any custom filter plugins, put them here (optional) | ||
|
||
deploy_sonic.yml # playbook to initialize a sonic switch after imaging process is complete | ||
integration_test.yml # playbook to run all integration tests | ||
|
||
roles/ | ||
sonic_common/ # common "role" for the sonic switch, only add tasks here that are for all sonic switches | ||
tasks/ # | ||
main.yml # <-- tasks file can include smaller files if warranted | ||
handlers/ # | ||
main.yml # <-- handlers file | ||
templates/ # <-- files for use with the template resource | ||
ntp.conf.j2 # <------- templates end in .j2 | ||
files/ # | ||
bar.txt # <-- files for use with the copy resource | ||
foo.sh # <-- script files for use with the script resource | ||
vars/ # | ||
main.yml # <-- variables associated with this role | ||
defaults/ # | ||
main.yml # <-- default lower priority variables for this role | ||
meta/ # | ||
main.yml # <-- role dependencies | ||
|
||
sonic_test/ # same kind of structure as above, but for the integration test role, | ||
# see http://github.com/Azure/sonic-integrationtest | ||
sonic_vm/ # for a future, vm based deployment of sonic | ||
sonic_s6000/ # place Dell s6000 specific tasks here | ||
sonic_msn2700/ # place Mellanox msn2700 specific tasks here |