type - Set the App Type

A2 supports two valid App Types i.e. 'box' and 'cmd'. Type 'box' is a container to keep similar type of apps together and type 'cmd' is actually run a process on managed node as per defined.

Examples

---
- name: 'WorkingDay_FourTime_DailyBox'
  type: 'box'
  box: 'none'
  user: 'root'
  node: 'none'
  cmd: 'none'
  date: '1,2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31'
  times: '06:05,12:05,18:05,00:05'
  days: 'mon, tue,wed,thu,fri'
  months: 'all'
  condition: 'none'

- name: 'WorkingDay_FourTime_DailyApp'
  type: 'cmd'
  box: 'WorkingDay_FourTime_DailyBox'
  user: 'root'
  node: 'atgen001'
  cmd: '/root/a2sample/sampleprocess.sh'
  date: 'all'
  times: 'all'
  days: 'all'
  months: 'all'
  condition: 'none'

A2 on GitHub

You may also wish to follow the GitHub project if you have a GitHub account. This is also where we keep the issue tracker for sharing bugs and feature ideas.