---

# stats is a smartos lx-branded zone

smartos_vm_id: 7928caca-d19d-6a5f-c90f-9dc4de2ba11a

zfs_filesystems:
  - name: zones/{{ smartos_vm_id }}/data/influxdb
    owner: influxdb
    group: influxdb

host_links:
  - path: /var/lib/influxdb
    src: /zones/{{ smartos_vm_id }}/data/influxdb
    owner: influxdb
    group: influxdb
    force: yes   # remove dir if it exists

# TODO: need to systemctl daemon-reload
host_directories:
  - path: /etc/systemd/system/nginx.service.d

host_files:
  - dest: /etc/systemd/system/nginx.service.d/disable_private_temp.conf
    content: |
      [Service]
      PrivateTmp=false

---

# stats is a smartos lx-branded zone

smartos_vm_id: 7928caca-d19d-6a5f-c90f-9dc4de2ba11a

zfs_filesystems:
  - name: zones/{{ smartos_vm_id }}/data/influxdb
    owner: influxdb
    group: influxdb

host_links:
  - path: /var/lib/influxdb
    src: /zones/{{ smartos_vm_id }}/data/influxdb
    owner: influxdb
    group: influxdb
    force: yes   # remove dir if it exists

# TODO: need to systemctl daemon-reload
host_directories:
  - path: /etc/systemd/system/nginx.service.d

host_files:
  - dest: /etc/systemd/system/nginx.service.d/disable_private_temp.conf
    content: |
      [Service]
      PrivateTmp=false

host_authorized_key_users:
  - name: root
    authorized: "{{ galaxy_admin_users }} + ['kaivan_kamali']"

Add Kaivan to stats access
Add Kaivan to stats access
