summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/vars/volumes.yml
blob: 82f2e189e4b79767e281e7baa3d5645c7c85400e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
gids:
  adei: { id: 6001 }
  adei_db: { id: 6002 }

volumes:
  adei_host: { volume: "hostraid",  path: "/adei",       write: true }                  # mysql
  adei_init: { volume: "openshift", path: "/adei/init"}                                 # mysql
  adei_etc:  { volume: "openshift", path: "/adei/etc"}                                  # mysql (maybe)
  adei_src:  { volume: "openshift", path: "/adei/src",   write: true }                  # prod & debug (init creates setup links)
  adei_cfg:  { volume: "openshift", path: "/adei/cfg",   write: true }                  # per-setup configs (ADEI/wiki modifies setup)
  adei_sys:  { volume: "openshift", path: "/adei/sys" }                                 # per-setup cron-jon overrides
  adei_tmp:  { volume: "temporary", path: "/adei/tmp",   write: true }                  # per-setup temporary files
  adei_log:  { volume: "temporary", path: "/adei/log",   write: true }                  # per-replica (should be fine) temporary files
#  adei_db:   { volume: "databases", path: "/adei",       write: true }                  # mysql

files:
  - { osv: "adei_cfg", path: "/",       state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_src", path: "/",       state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_src", path: "/prod",   state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_src", path: "/dbg",    state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_log", path: "/",       state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_tmp", path: "/",       state: "directory", group: "adei", mode: "02775" }
  - { osv: "adei_host",path: "mysql",   state: "directory", group: "adei_db", mode: "02775" }
  - { osv: "adei_host",path: "galera",  state: "directory", group: "adei_db", mode: "02775" }
#  - { osv: "adei_db",  path: "mysql",   state: "directory", group: "adei_db", mode: "02775" }