From fa4a4a8a6ff33a744ce9900d768fee3a11038013 Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 5 Mar 2021 19:56:48 +0100 Subject: Cleanup common role --- roles/common/tasks/main.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'roles/common/tasks/main.yml') diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 305e993..b562e88 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -3,46 +3,46 @@ --- -- name: check existence of data directory +- name: ensure existence of data directory file: path: /data - owner: "{{ user_root }}" - group: "{{ group_root }}" + owner: "0" + group: "0" + mode: "0755" state: directory - mode: 0755 -- name: check existence of zsh directoy +- name: ensure existence of zsh directoy file: path: /etc/zsh - owner: "{{ user_root }}" - group: "{{ group_root }}" + owner: "0" + group: "0" + mode: "0755" state: directory - mode: 0755 when: ansible_system == "Linux" - name: copy zsh configuration file copy: src: zshrc dest: "{{ path_zshconfig }}" - owner: "{{ user_root }}" - group: "{{ group_root }}" - mode: 0644 + owner: "0" + group: "0" + mode: "0644" - name: copy tmux configuration file copy: src: tmux.conf dest: "{{ path_tmuxconfig }}" - owner: "{{ user_root }}" - group: "{{ group_root }}" - mode: 0644 + owner: "0" + group: "0" + mode: "0644" - name: copy motd configuration file template: src: motd.j2 dest: /etc/motd - owner: "{{ user_root }}" - group: "{{ group_root }}" - mode: 0644 + owner: "0" + group: "0" + mode: "0644" - name: synchronize host hostname with config hostname hostname: name="{{ inventory_hostname }}" -- cgit v1.2.3