fix tlogging
This commit is contained in:
parent
206ac043cc
commit
5d79543340
@ -3,7 +3,7 @@
|
|||||||
# linux-system-roles.tlog role, but with modifications. The expectation
|
# linux-system-roles.tlog role, but with modifications. The expectation
|
||||||
# is that the system is enrolled to FreeIPA.
|
# is that the system is enrolled to FreeIPA.
|
||||||
- name: Configure session recording
|
- name: Configure session recording
|
||||||
hosts: all
|
hosts: "{{ host|default('all') }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
# This is to try to avoid the handler issue in pre/post tasks
|
# This is to try to avoid the handler issue in pre/post tasks
|
||||||
@ -24,7 +24,7 @@
|
|||||||
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Loading Variables from OS Common
|
- name: Configure session recording for the designated system
|
||||||
import_tasks: tasks/tlog.yml
|
import_tasks: tasks/tlog.yml
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
|
@ -50,6 +50,10 @@
|
|||||||
- name: Configure common skel items
|
- name: Configure common skel items
|
||||||
ansible.builtin.import_tasks: tasks/skel.yml
|
ansible.builtin.import_tasks: tasks/skel.yml
|
||||||
|
|
||||||
|
- name: Configure tlog for secure systems
|
||||||
|
import_tasks: tasks/tlog.yml
|
||||||
|
when: "'secureboot' in group_names"
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Touching run file that ansible has ran here
|
- name: Touching run file that ansible has ran here
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// A message which will be printed before starting
|
// A message which will be printed before starting
|
||||||
// recording and the user shell. Can be used to warn
|
// recording and the user shell. Can be used to warn
|
||||||
// the user that the session is recorded.
|
// the user that the session is recorded.
|
||||||
"notice" : "\n** Session recording now in progress\n\n",
|
"notice" : "\nATTENTION! Your session is being recorded!\n\n",
|
||||||
|
|
||||||
// The number of seconds to cache captured data for before logging.
|
// The number of seconds to cache captured data for before logging.
|
||||||
// The encoded data which does not reach payload size
|
// The encoded data which does not reach payload size
|
||||||
|
Loading…
Reference in New Issue
Block a user