update..
This commit is contained in:
@ -60,6 +60,36 @@
|
||||
tags:
|
||||
- systemd-config
|
||||
|
||||
- name: (basic.yml) Ensure directory '/etc/systemd/journald.conf.d' exists
|
||||
file:
|
||||
path: /etc/systemd/journald.conf.d
|
||||
state: directory
|
||||
mode: 0755
|
||||
group: root
|
||||
owner: root
|
||||
when:
|
||||
- copy_plain_files_journald is defined
|
||||
- copy_plain_files_journald|length > 0
|
||||
tags:
|
||||
- systemd-config
|
||||
|
||||
- name: (basic.yml) Ensure files /etc/systemd/journald.conf.d/*.conf exists
|
||||
copy:
|
||||
src: '{{ item.src_path }}'
|
||||
dest: '{{ item.dest_path }}'
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
loop: "{{ copy_plain_files_journald }}"
|
||||
loop_control:
|
||||
label: 'dest: {{ item.name }}'
|
||||
notify: "Restart systemd-journald"
|
||||
when:
|
||||
- copy_plain_files_journald is defined
|
||||
- copy_plain_files_journald|length > 0
|
||||
tags:
|
||||
- systemd-config
|
||||
|
||||
|
||||
# ----------
|
||||
# kernel parameter
|
||||
|
Reference in New Issue
Block a user