Skip to content

Commit

Permalink
CE: создание каталогов для ТЖ (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
slothfk committed Aug 11, 2020
1 parent 77e4677 commit 182a898
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions playbooks/roles/1c_ws/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,30 @@
owner: zabbix
group: zabbix
mode: 0755

- name: Make directory for 1C tech log
file:
name: /var/log/1C
owner: usr1cv8
group: grp1cv8
mode: 0750

- name: Make directory for 1C tech log
file:
name: /var/log/1C/zabbix
owner: usr1cv8
group: grp1cv8
mode: 0750

- name: Make directory for problem log
file:
name: /var/log/1C/zabbix/problem_log
owner: zabbix
group: grp1cv8
mode: 0750

- name: Attach zabbix user to 1C group
user:
name: zabbix
groups: grp1cv8
append: yes

0 comments on commit 182a898

Please sign in to comment.