Remove "msg" from tasks in ansible roles

It looks that 'msg' isn't valid attribute for a Task and
it cause problem with jobs which uses this role.

Change-Id: I43d09e645f60526d251703ce7ee91c29281f1eeb
Closes-Bug: #1820993
changes/42/644842/2
Slawek Kaplonski 4 years ago
parent d03c460ae5
commit b6550e568d
  1. 1
      roles/fetch_journal_log/tasks/main.yaml
  2. 1
      roles/setup_logdir/tasks/main.yaml

@ -1,6 +1,5 @@
- name: Ensure {{ journal_log_path }} exists
become: yes
msg: "Ensure logdir {{ journal_log_path }} exists and have correct permission"
file:
path: "{{ journal_log_path }}"
state: directory

@ -1,6 +1,5 @@
- name: Ensure logdir exists
become: yes
msg: "Ensure logdir {{ logdir }} exists and have correct permission"
file:
path: "{{ logdir }}"
state: directory

Loading…
Cancel
Save