blob: 5dca08dd1f8b3a18f53e680503dc9e5f2dcee26a (
plain) (
tree)
|
|
# common ~~ tasks/main.yml
---
- name: check existence of data directory
file:
path: /data
owner: root
group: "{{ group_root }}"
state: directory
mode: 0711
- name: copy zsh configuration file
copy:
src: zshrc
dest: "{{ path_zshconfig }}"
owner: root
group: "{{ group_root }}"
mode: 0644
- name: copy tmux configuration file
copy:
src: tmux.conf
dest: "{{ path_tmuxconfig }}"
owner: root
group: "{{ group_root }}"
mode: 0644
- name: copy motd configuration file
template:
src: motd.j2
dest: /etc/motd
owner: root
group: "{{ group_root }}"
mode: 0644
- name: synchronize host hostname with config hostname
hostname: name="{{ inventory_hostname }}"
|