updated micromdm state
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd46368ad3
commit
2933d3985e
@ -7,7 +7,7 @@ micromdm:
|
|||||||
config_path: "/var/lib/micromdm/db"
|
config_path: "/var/lib/micromdm/db"
|
||||||
filerepo: "/var/lib/micromdm/repo"
|
filerepo: "/var/lib/micromdm/repo"
|
||||||
url: "https://mdm.acme.com"
|
url: "https://mdm.acme.com"
|
||||||
tls: false
|
tls: "false"
|
||||||
api_key: 1234
|
api_key: 1234
|
||||||
command_webhook_url: "https://mdm.acme.com"
|
command_webhook_url: "https://mdm.acme.com"
|
||||||
version: "1.9.0"
|
version: "1.9.0"
|
||||||
|
@ -21,30 +21,40 @@ micromdm-user:
|
|||||||
micromdm-archive-extract:
|
micromdm-archive-extract:
|
||||||
archive.extracted:
|
archive.extracted:
|
||||||
- name: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}
|
- name: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}
|
||||||
- source: {{ micromdm.mirror }}/micromdm_v{{ micromdm.version }}.zip
|
- source: {{ micromdm.mirror }}/v{{ micromdm.version }}/micromdm_v{{ micromdm.version }}.zip
|
||||||
- skip_verify: true
|
- skip_verify: true
|
||||||
- enforce_toplevel: false
|
- enforce_toplevel: false
|
||||||
- if_missing: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}/micromdm
|
- if_missing: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}/build/{{ micromdm.os }}/micromdm
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: micromdm-service
|
- service: micromdm-service
|
||||||
|
|
||||||
micromdm-bin-symlink:
|
micromdm-bin-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: {{ micromdm.install_dir }}/micromdm
|
- name: {{ micromdm.install_dir }}/micromdm
|
||||||
- target: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}
|
- target: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}/build/{{ micromdm.os }}
|
||||||
|
|
||||||
micromdm-data-dir:
|
micromdm-configpath-dir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{ micromdm.data_dir }}
|
- name: {{ micromdm.config_path }}
|
||||||
- user: {{ micromdm.user.uid }}
|
- user: {{ micromdm.user.uid }}
|
||||||
- group: {{ micromdm.group.gid }}
|
- group: {{ micromdm.group.gid }}
|
||||||
|
- makedirs: true
|
||||||
|
- watch_in:
|
||||||
|
- service: micromdm-service
|
||||||
|
|
||||||
|
micromdm-filerepo-dir:
|
||||||
|
file.directory:
|
||||||
|
- name: {{ micromdm.filerepo }}
|
||||||
|
- user: {{ micromdm.user.uid }}
|
||||||
|
- group: {{ micromdm.group.gid }}
|
||||||
|
- makedirs: true
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: micromdm-service
|
- service: micromdm-service
|
||||||
|
|
||||||
{%- for bin in ['mdmctl'] %}
|
{%- for bin in ['mdmctl'] %}
|
||||||
micromdm-{{ bin }}-symlink:
|
micromdm-{{ bin }}-symlink:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
- name: /usr/local/sbin/{{ bin }}
|
- name: /usr/local/bin/{{ bin }}
|
||||||
- target: {{ micromdm.install_dir }}/micromdm/{{ bin }}
|
- target: {{ micromdm.install_dir }}/micromdm/{{ bin }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user