ansible-playbook [core 2.17.7]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /tmp/collections-cf6
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.8 (main, Dec  3 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True
No config file found; using defaults
running playbook inside collection fedora.linux_system_roles
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug
redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: tests_check_cron.yml *************************************************
2 plays in /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml

PLAY [Ensure that the cron is set up] ******************************************

TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3
Friday 20 December 2024  10:22:19 -0500 (0:00:00.010)       0:00:00.010 ******* 
included: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2

TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2
Friday 20 December 2024  10:22:19 -0500 (0:00:00.017)       0:00:00.027 ******* 
[WARNING]: Platform linux on host managed-node2 is using the discovered Python
interpreter at /usr/bin/python3.9, but future installation of another Python
interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [managed-node2]

TASK [fedora.linux_system_roles.aide : Check if system is ostree] **************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10
Friday 20 December 2024  10:22:20 -0500 (0:00:00.845)       0:00:00.873 ******* 
ok: [managed-node2] => {
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15
Friday 20 December 2024  10:22:20 -0500 (0:00:00.456)       0:00:01.330 ******* 
ok: [managed-node2] => {
    "ansible_facts": {
        "__aide_is_ostree": false
    },
    "changed": false
}

TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19
Friday 20 December 2024  10:22:20 -0500 (0:00:00.038)       0:00:01.368 ******* 
skipping: [managed-node2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS_9.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS_9.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS_9.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS_9.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7
Friday 20 December 2024  10:22:20 -0500 (0:00:00.045)       0:00:01.414 ******* 
ok: [managed-node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do

TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13
Friday 20 December 2024  10:22:22 -0500 (0:00:01.754)       0:00:03.168 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "skipped_reason": "No items in the list"
}

TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] **************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20
Friday 20 December 2024  10:22:22 -0500 (0:00:00.013)       0:00:03.181 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_db_template is not none",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Initialize AIDE database] ***************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33
Friday 20 December 2024  10:22:22 -0500 (0:00:00.015)       0:00:03.197 ******* 
changed: [managed-node2] => {
    "changed": true,
    "cmd": [
        "aide",
        "--init"
    ],
    "delta": "0:04:05.636048",
    "end": "2024-12-20 10:26:28.707482",
    "rc": 0,
    "start": "2024-12-20 10:22:23.071434"
}

STDOUT:

Start timestamp: 2024-12-20 10:22:23 -0500 (AIDE 0.16)
AIDE initialized database at /var/lib/aide/aide.db.new.gz

Number of entries:	52458

---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------

/var/lib/aide/aide.db.new.gz
  MD5      : 4YuH+Ny4v6xyBhRjHf7HuA==
  SHA1     : 6sH3qkMJPo7POcjALnPYb29nQg4=
  RMD160   : BtB/QAk30STl4K+vNwiJDTKISsY=
  TIGER    : M7pjG1aTiugKHqQvNuqdw31/VoNOJnEh
  SHA256   : ynbdl2J8KbtnSWRCC/V7GM9DVOP7OwYq
             81c+Sfh7/Uc=
  SHA512   : eK4H0u3nQkQp9+c7SPz1jXAVls00uEjb
             nn2LeNdVbdfatZkQA4Y+vyW7bgIy7HtS
             X7PR/osCBd592Q50Lgv4wA==


End timestamp: 2024-12-20 10:26:28 -0500 (run time: 4m 5s)

TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] ***********
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38
Friday 20 December 2024  10:26:28 -0500 (0:04:06.092)       0:04:09.289 ******* 
changed: [managed-node2] => {
    "changed": true,
    "checksum": "22a028ecf40d7e5b627c466f9718067343edbed5",
    "dest": "/var/lib/aide/aide.db.gz",
    "gid": 0,
    "group": "root",
    "md5sum": "92eb48e262959a6247fb8578f554f4b5",
    "mode": "0440",
    "owner": "root",
    "secontext": "system_u:object_r:aide_db_t:s0",
    "size": 2864159,
    "src": "/var/lib/aide/aide.db.new.gz",
    "state": "file",
    "uid": 0
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49
Friday 20 December 2024  10:26:29 -0500 (0:00:00.495)       0:04:09.785 ******* 
changed: [managed-node2] => {
    "changed": true,
    "path": "/var/lib/aide/aide.db.new.gz",
    "state": "absent"
}

TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ********************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58
Friday 20 December 2024  10:26:29 -0500 (0:00:00.514)       0:04:10.299 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_fetch_db | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63
Friday 20 December 2024  10:26:29 -0500 (0:00:00.044)       0:04:10.343 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_fetch_db | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] ***********
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71
Friday 20 December 2024  10:26:29 -0500 (0:00:00.042)       0:04:10.386 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80
Friday 20 December 2024  10:26:29 -0500 (0:00:00.045)       0:04:10.431 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Update AIDE database] *******************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88
Friday 20 December 2024  10:26:29 -0500 (0:00:00.046)       0:04:10.478 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ********************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95
Friday 20 December 2024  10:26:29 -0500 (0:00:00.045)       0:04:10.523 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100
Friday 20 December 2024  10:26:30 -0500 (0:00:00.045)       0:04:10.569 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105
Friday 20 December 2024  10:26:30 -0500 (0:00:00.042)       0:04:10.611 ******* 
changed: [managed-node2] => {
    "backup": "",
    "changed": true
}

MSG:

line added

TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:114
Friday 20 December 2024  10:26:30 -0500 (0:00:00.525)       0:04:11.137 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "not aide_cron_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [Print crontab 1] *********************************************************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13
Friday 20 December 2024  10:26:30 -0500 (0:00:00.054)       0:04:11.191 ******* 
changed: [managed-node2] => {
    "changed": true,
    "cmd": [
        "cat",
        "/etc/crontab"
    ],
    "delta": "0:00:00.003125",
    "end": "2024-12-20 10:26:30.978677",
    "rc": 0,
    "start": "2024-12-20 10:26:30.975552"
}

STDOUT:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# For details see man 4 crontabs

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name  command to be executed

0 12 * * * root /usr/sbin/aide --check

TASK [Check file content] ******************************************************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16
Friday 20 December 2024  10:26:31 -0500 (0:00:00.365)       0:04:11.556 ******* 
ok: [managed-node2] => {
    "backup": "",
    "changed": false,
    "failed_when_result": false
}

PLAY [Ensure that the cron is not set up] **************************************

TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:3
Friday 20 December 2024  10:26:31 -0500 (0:00:00.354)       0:04:11.911 ******* 
included: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml for managed-node2

TASK [fedora.linux_system_roles.aide : Ensure ansible_facts used by role] ******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2
Friday 20 December 2024  10:26:31 -0500 (0:00:00.014)       0:04:11.926 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "__aide_required_facts | difference(ansible_facts.keys() | list) | length > 0",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Check if system is ostree] **************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10
Friday 20 December 2024  10:26:31 -0500 (0:00:00.032)       0:04:11.958 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "not __aide_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Set flag to indicate system is ostree] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:15
Friday 20 December 2024  10:26:31 -0500 (0:00:00.015)       0:04:11.974 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "not __aide_is_ostree is defined",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Set platform/version specific variables] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19
Friday 20 December 2024  10:26:31 -0500 (0:00:00.016)       0:04:11.990 ******* 
skipping: [managed-node2] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS_9.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS_9.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => (item=CentOS_9.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "false_condition": "__vars_file is file",
    "item": "CentOS_9.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [managed-node2] => {
    "changed": false
}

MSG:

All items skipped

TASK [fedora.linux_system_roles.aide : Ensure required packages are installed] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7
Friday 20 December 2024  10:26:31 -0500 (0:00:00.028)       0:04:12.019 ******* 
ok: [managed-node2] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do

TASK [fedora.linux_system_roles.aide : Ensure required services are enabled and started] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:13
Friday 20 December 2024  10:26:33 -0500 (0:00:01.778)       0:04:13.798 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "skipped_reason": "No items in the list"
}

TASK [fedora.linux_system_roles.aide : Generate "/etc/aide.conf"] **************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:20
Friday 20 December 2024  10:26:33 -0500 (0:00:00.010)       0:04:13.808 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_db_template is not none",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Initialize AIDE database] ***************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33
Friday 20 December 2024  10:26:33 -0500 (0:00:00.015)       0:04:13.824 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_init | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] ***********
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38
Friday 20 December 2024  10:26:33 -0500 (0:00:00.028)       0:04:13.853 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_init | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49
Friday 20 December 2024  10:26:33 -0500 (0:00:00.029)       0:04:13.882 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_init | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ********************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58
Friday 20 December 2024  10:26:33 -0500 (0:00:00.028)       0:04:13.910 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_fetch_db | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:63
Friday 20 December 2024  10:26:33 -0500 (0:00:00.028)       0:04:13.939 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_fetch_db | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Copy AIDE reference database] ***********
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71
Friday 20 December 2024  10:26:33 -0500 (0:00:00.028)       0:04:13.968 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Check against AIDE reference database] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80
Friday 20 December 2024  10:26:33 -0500 (0:00:00.029)       0:04:13.998 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Update AIDE database] *******************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88
Friday 20 December 2024  10:26:33 -0500 (0:00:00.029)       0:04:14.027 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Fetch AIDE database] ********************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95
Friday 20 December 2024  10:26:33 -0500 (0:00:00.030)       0:04:14.058 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove remote AIDE database file] *******
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:100
Friday 20 December 2024  10:26:33 -0500 (0:00:00.029)       0:04:14.088 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_update | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Update aide check cron configuration if necessary] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105
Friday 20 December 2024  10:26:33 -0500 (0:00:00.030)       0:04:14.119 ******* 
skipping: [managed-node2] => {
    "changed": false,
    "false_condition": "aide_cron_check | bool",
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary] ***
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:114
Friday 20 December 2024  10:26:33 -0500 (0:00:00.033)       0:04:14.152 ******* 
changed: [managed-node2] => {
    "backup": "",
    "changed": true,
    "found": 1
}

MSG:

1 line(s) removed

TASK [Print crontab 2] *********************************************************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:35
Friday 20 December 2024  10:26:33 -0500 (0:00:00.362)       0:04:14.514 ******* 
changed: [managed-node2] => {
    "changed": true,
    "cmd": [
        "cat",
        "/etc/crontab"
    ],
    "delta": "0:00:00.003151",
    "end": "2024-12-20 10:26:34.271699",
    "rc": 0,
    "start": "2024-12-20 10:26:34.268548"
}

STDOUT:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

# For details see man 4 crontabs

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name  command to be executed

TASK [Check file content] ******************************************************
task path: /tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:38
Friday 20 December 2024  10:26:34 -0500 (0:00:00.333)       0:04:14.847 ******* 
changed: [managed-node2] => {
    "backup": "",
    "changed": true,
    "failed_when_result": false
}

MSG:

line added

PLAY RECAP *********************************************************************
managed-node2              : ok=16   changed=8    unreachable=0    failed=0    skipped=28   rescued=0    ignored=0   


TASKS RECAP ********************************************************************
Friday 20 December 2024  10:26:34 -0500 (0:00:00.335)       0:04:15.183 ******* 
=============================================================================== 
fedora.linux_system_roles.aide : Initialize AIDE database ------------- 246.09s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:33 
fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.78s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 
fedora.linux_system_roles.aide : Ensure required packages are installed --- 1.75s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:7 
fedora.linux_system_roles.aide : Ensure ansible_facts used by role ------ 0.85s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:2 
fedora.linux_system_roles.aide : Update aide check cron configuration if necessary --- 0.53s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:105 
fedora.linux_system_roles.aide : Remove remote AIDE database file ------- 0.51s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:49 
fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.50s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:38 
fedora.linux_system_roles.aide : Check if system is ostree -------------- 0.46s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:10 
Print crontab 1 --------------------------------------------------------- 0.37s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:13 
fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.36s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:114 
Check file content ------------------------------------------------------ 0.35s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:16 
Check file content ------------------------------------------------------ 0.34s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:38 
Print crontab 2 --------------------------------------------------------- 0.33s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/tests/aide/tests_check_cron.yml:35 
fedora.linux_system_roles.aide : Remove aide check cron configuration if necessary --- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:114 
fedora.linux_system_roles.aide : Check against AIDE reference database --- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:80 
fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:95 
fedora.linux_system_roles.aide : Set platform/version specific variables --- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/set_vars.yml:19 
fedora.linux_system_roles.aide : Update AIDE database ------------------- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:88 
fedora.linux_system_roles.aide : Copy AIDE reference database ----------- 0.05s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:71 
fedora.linux_system_roles.aide : Fetch AIDE database -------------------- 0.04s
/tmp/collections-cf6/ansible_collections/fedora/linux_system_roles/roles/aide/tasks/main.yml:58