8000 GitHub - jamiehackett/boilerplate-tests
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jamiehackett/boilerplate-tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 

Repository files navigation

README for: Project A

Notes

The following is a README template that can be used to create documentation around any Ansible automation.

About

Note

Runs on RHEL9 Only

Tip

Refresh between pulls

Important

Ensure no security data is hardcoded

Warning

Don't push to master without approval

Caution

May crash if variables aren't correct

This code is used for doing very complicated things, such as solving a Rubik's cube. It is important to have the following background information about why the code is needed for the project. Project 2 is scheduled to play Tetris on Mondays, if the Rubik's cube isn't completed, the Tetris will fail.

Info About
Version v1.1
GitHub [criticalserver/topsecret/supersecret]
Documentation [documentation/supersecret.pdf]
Environment Dev
Code Owner John Smith - john.smith@example.com

Features

  • Boilerplate file to help give structure
  • Ran in the test environment
  • Whatever quick easy to read info you think would help to understand what it does/how it works etc

Vars

Anything info about vars entered here

Setting Parameters Additional Info
File List sequential-files List of Files to Remove

Inputs & Output

Under condition A the expected output is B. If input B = 1 output B defaults to 2

Example Code

# roles/example/tasks/main.yml
- name: Install the correct web server for RHEL
  import_tasks: redhat.yml
  when: ansible_facts['os_family']|lower == 'redhat'

- name: Install the correct web server for Debian
  import_tasks: debian.yml
  when: ansible_facts['os_family']|lower == 'debian'

# roles/example/tasks/redhat.yml
- name: Install web server
  ansible.builtin.yum:
    name: "httpd"
    state: present

# roles/example/tasks/debian.yml
- name: Install web server
  ansible.builtin.apt:
    name: "apache2"
    state: present

Support

To get support

  1. Contact Team A
  2. Contact Product Owner

Process Flow for Further Support

flowchart LR
    A[Go to Service Now] --> B[Raise Ticket Under 'Project A']
    B --> C{Issue Resolved?}
    C -->|Yes| D[Good]
    C -->|No| E[Contact PM]
Loading

Team

Name Role Team Orginisation E-Mail
John Smith Engineer Project A Team Company A John.Smith@example.com
Sherlock Smith Tester Project B Team Red Hat Sherlock.Smith@example.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0