
PLAY [Test Log Clients.] *******************************************************

TASK [Run loggen] **************************************************************
changed: [www_01]
changed: [www_02]

TASK [Debug.] ******************************************************************
ok: [www_02] => 
    out.stderr: |-
        count=1, rate = 41666.67 msg/sec
        average rate = 2.00 msg/sec, count=1, time=0.500404, (average) msg size=256, bandwidth=0.50 kB/sec
ok: [www_01] => 
    out.stderr: |-
        count=1, rate = 250000.00 msg/sec
        average rate = 2.00 msg/sec, count=1, time=0.500415, (average) msg size=256, bandwidth=0.50 kB/sec

PLAY [Display the logs.] *******************************************************

TASK [Get log files paths.] ****************************************************
ok: [log_server_01]

TASK [Get log files.] **********************************************************
changed: [log_server_01] => (item=/var/log/remote/ip-172-16-99-116/2026_08_23.log)
changed: [log_server_01] => (item=/var/log/remote/ip-172-16-99-147/2026_08_23.log)

TASK [Display log files.] ******************************************************
ok: [log_server_01] => (item=['cat', '/var/log/remote/ip-172-16-99-116/2026_08_23.log']) => 
    msg: |-
        Aug 23 09:12:11 ip-172-16-99-116 syslog-ng[94215]: syslog-ng starting up; version='4.12.0'
        Aug 23 09:12:11 ip-172-16-99-116 syslog-ng[94215]: Syslog connection established; fd='19', server='AF_INET(172.16.99.10:514)', local='AF_INET(0.0.0.0:0)'
        Aug 23 09:12:12 ip-172-16-99-116 1 2026-08-23T09:12:12.083933+02:00 www-01 ansible-vbotka.freebsd.service 94240 - - Invoked with command=reload script=syslog-ng list_enabled=False synopsis=False wait=0.5 env=None jail=None
        Aug 23 09:11:34 ip-172-16-99-116 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-01
        Aug 23 09:11:35 ip-172-16-99-116 ansible: n=ansible INFO| PLAY [ansible-init] ************************************************************
        Aug 23 09:11:35 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Get hostname.] ***********************************************************
        Aug 23 09:11:35 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Get custom facts.] *******************************************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Include variables from ai_vars directory.] *******************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-db-class.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-conf-roles.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/pkg-repo.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client-pkg.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/project-hosts.yml)
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:12 ip-172-16-99-116 ansible: |-
        Aug 23 09:12:12 ip-172-16-99-116 ansible: true
        Aug 23 09:12:12 ip-172-16-99-116 ansible: /root/ansible-vars
        Aug 23 09:12:12 ip-172-16-99-116 ansible: www-01
        Aug 23 09:12:12 ip-172-16-99-116 ansible: ['log-client']
        Aug 23 09:12:12 ip-172-16-99-116 ansible: {'defaultrouter': '172.16.99.1', 'log_server': '172.16.99.10', 'repos': '172.16.99.21', 'repos_devel': '172.16.99.22', 'pkg_repo': '172.16.99.23'}
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Set ai_cmd] **************************************************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Execute ai_cmd] **********************************************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| included: /root/ansible-conf-init/tasks/execute-cmd.yml for localhost.my.domain
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:37 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:12 ip-172-16-99-116 ansible: |-
        Aug 23 09:12:12 ip-172-16-99-116 ansible:
        Aug 23 09:12:12 ip-172-16-99-116 ansible: True
        Aug 23 09:12:12 ip-172-16-99-116 ansible:      ansible-pull -i hosts -U git://172.16.99.21/ansible-conf-roles -d /root/ansible-conf-roles -e "ai_vars=/root/ansible-vars" -e "ai_pull_mode=true" pb-roles.yml &&  echo '[INFO] ansible-pull finished.'
        Aug 23 09:11:38 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Execute command async=3600 poll=0] ***************************************
        Aug 23 09:11:38 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:11:38 ip-172-16-99-116 ansible: n=ansible INFO| PLAY RECAP *********************************************************************
        Aug 23 09:11:38 ip-172-16-99-116 ansible: n=ansible INFO| localhost.my.domain        : ok=8    changed=1    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0
        Aug 23 09:11:39 ip-172-16-99-116 ansible: n=ansible INFO| Starting Ansible Pull at 2026-08-23 09:11:39
        Aug 23 09:11:39 ip-172-16-99-116 ansible: n=ansible INFO| /usr/local/bin/ansible-pull -i hosts -U git://172.16.99.21/ansible-conf-roles -d /root/ansible-conf-roles -e ai_vars=/root/ansible-vars -e ai_pull_mode=true pb-roles.yml
        Aug 23 09:11:40 ip-172-16-99-116 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-01
        Aug 23 09:11:41 ip-172-16-99-116 ansible: n=ansible INFO| localhost.my.domain | CHANGED => {
        Aug 23 09:12:12 ip-172-16-99-116 ansible: "90c5906a366cba3907eb615e1b8fad119793a6f1",
        Aug 23 09:12:12 ip-172-16-99-116 ansible: {
        Aug 23 09:12:12 ip-172-16-99-116 ansible: "/usr/local/bin/python3.12"
        Aug 23 09:12:12 ip-172-16-99-116 ansible:
        Aug 23 09:12:12 ip-172-16-99-116 ansible: null,
        Aug 23 09:12:12 ip-172-16-99-116 ansible: true
        Aug 23 09:12:12 ip-172-16-99-116 ansible:
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-01
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| PLAY [Use Ansible roles.] ******************************************************
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Include variables from ai_vars directory.] *******************************
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-db-class.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-conf-roles.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/pkg-repo.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client-pkg.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/project-hosts.yml)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:12 ip-172-16-99-116 ansible: |-
        Aug 23 09:12:12 ip-172-16-99-116 ansible: true
        Aug 23 09:12:12 ip-172-16-99-116 ansible: /root/ansible-vars
        Aug 23 09:12:12 ip-172-16-99-116 ansible: {'vbotka.freebsd.packages': ['conf', 'pkg-install'], 'vbotka.freebsd.postinstall': ['syslogd', 'syslog-ng']}
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| TASK [Include roles.] **********************************************************
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| included: vbotka.freebsd.packages for localhost.my.domain => (item=vbotka.freebsd.packages: conf)
        Aug 23 09:11:43 ip-172-16-99-116 ansible: n=ansible INFO| included: vbotka.freebsd.packages for localhost.my.domain => (item=vbotka.freebsd.packages: pkg-install)
        Aug 23 09:11:44 ip-172-16-99-116 ansible: n=ansible INFO| included: vbotka.freebsd.postinstall for localhost.my.domain => (item=vbotka.freebsd.postinstall: syslogd)
        Aug 23 09:11:45 ip-172-16-99-116 ansible: n=ansible INFO| included: vbotka.freebsd.postinstall for localhost.my.domain => (item=vbotka.freebsd.postinstall: syslog-ng)
        Aug 23 09:11:45 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Create directories] **********************
        Aug 23 09:11:45 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=/usr/local/etc/pkg)
        Aug 23 09:11:46 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=/usr/local/etc/pkg/repos)
        Aug 23 09:11:47 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Configure /usr/local/etc/pkg/repos] ******
        Aug 23 09:11:47 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=pkg-repo)
        Aug 23 09:11:48 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Find repos] ******************************
        Aug 23 09:11:48 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:06 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Packages_install: Install list pkg_list] *******
        Aug 23 09:12:06 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:08 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Rcconf: Configure syslogd_enable in /etc/rc.conf] ***
        Aug 23 09:12:08 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:08 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Syslog-ng: Sanity fp_syslogng_conf is empty.] ***
        Aug 23 09:12:08 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:09 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Syslog-ng: Configure /usr/local/etc/syslog-ng.conf] ***
        Aug 23 09:12:09 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:10 ip-172-16-99-116 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Rcconf: Configure syslog_ng_enable in /etc/rc.conf] ***
        Aug 23 09:12:10 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:11 ip-172-16-99-116 ansible: n=ansible INFO| RUNNING HANDLER [vbotka.freebsd.postinstall : Start syslog-ng] *****************
        Aug 23 09:12:11 ip-172-16-99-116 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:12 ip-172-16-99-116 syslog-ng[94215]: Loading the new configuration;
        Aug 23 09:12:12 ip-172-16-99-116 syslog-ng[94215]: Configuration reload finished;
        Aug 23 09:12:14 ip-172-16-99-116 1 2026-08-23T09:12:14.090731+02:00 www-01 ansible-vbotka.freebsd.service 94347 - - Invoked with command=stop script=syslogd list_enabled=False synopsis=False wait=0.5 env=None jail=None
        Aug 23 09:12:13 ip-172-16-99-116 ansible: n=ansible INFO| RUNNING HANDLER [vbotka.freebsd.postinstall : Reload syslog-ng] ****************
        Aug 23 09:12:13 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:15 ip-172-16-99-116 ansible: n=ansible INFO| RUNNING HANDLER [vbotka.freebsd.postinstall : Stop syslogd] ********************
        Aug 23 09:12:15 ip-172-16-99-116 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:15 ip-172-16-99-116 ansible: n=ansible INFO| PLAY RECAP *********************************************************************
        Aug 23 09:12:15 ip-172-16-99-116 ansible: n=ansible INFO| localhost.my.domain        : ok=17   changed=7    unreachable=0    failed=0    skipped=45   rescued=0    ignored=0
        Aug 23 09:12:16 ip-172-16-99-116 1 2026-08-23T09:12:16.995242+02:00 www-01 ansible-async_wrapper.py 91142 - - Module complete (91142)
        Aug 23 09:12:22 ip-172-16-99-116 1 2026-08-23T09:12:22.663647+02:00 www-01 ansible-ansible.legacy.command 95055 - - Invoked with _raw_params=loggen -i -S -n 1 172.16.99.10 514 _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True cmd=None argv=None chdir=None executable=None creates=None removes=None stdin=None
        Aug 23 09:12:22 ip-172-16-99-116 prg00000[1234]: seq: 0000000000, thread: 0000, runid: 1787469142, stamp: 2026-08-23T09:12:22 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ok: [log_server_01] => (item=['cat', '/var/log/remote/ip-172-16-99-147/2026_08_23.log']) => 
    msg: |-
        Aug 23 09:12:22 ip-172-16-99-147 syslog-ng[95142]: syslog-ng starting up; version='4.12.0'
        Aug 23 09:12:22 ip-172-16-99-147 syslog-ng[95142]: Syslog connection established; fd='19', server='AF_INET(172.16.99.10:514)', local='AF_INET(0.0.0.0:0)'
        Aug 23 09:12:22 ip-172-16-99-147 1 2026-08-23T09:12:22.914105+02:00 www-02 ansible-ansible.legacy.command 95058 - - Invoked with _raw_params=loggen -i -S -n 1 172.16.99.10 514 _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True cmd=None argv=None chdir=None executable=None creates=None removes=None stdin=None
        Aug 23 09:12:22 ip-172-16-99-147 prg00000[1234]: seq: 0000000000, thread: 0000, runid: 1787469142, stamp: 2026-08-23T09:12:22 PADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADDPADD
        Aug 23 09:12:23 ip-172-16-99-147 1 2026-08-23T09:12:23.567155+02:00 www-02 ansible-vbotka.freebsd.service 95169 - - Invoked with command=reload script=syslog-ng list_enabled=False synopsis=False wait=0.5 env=None jail=None
        Aug 23 09:11:46 ip-172-16-99-147 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-02
        Aug 23 09:11:46 ip-172-16-99-147 ansible: n=ansible INFO| PLAY [ansible-init] ************************************************************
        Aug 23 09:11:47 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Get hostname.] ***********************************************************
        Aug 23 09:11:47 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Get custom facts.] *******************************************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Include variables from ai_vars directory.] *******************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client-pkg.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/project-hosts.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/pkg-repo.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-db-class.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-conf-roles.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client.yml)
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:23 ip-172-16-99-147 ansible: |-
        Aug 23 09:12:23 ip-172-16-99-147 ansible: true
        Aug 23 09:12:23 ip-172-16-99-147 ansible: /root/ansible-vars
        Aug 23 09:12:23 ip-172-16-99-147 ansible: www-02
        Aug 23 09:12:23 ip-172-16-99-147 ansible: ['log-client']
        Aug 23 09:12:23 ip-172-16-99-147 ansible: {'defaultrouter': '172.16.99.1', 'log_server': '172.16.99.10', 'repos': '172.16.99.21', 'repos_devel': '172.16.99.22', 'pkg_repo': '172.16.99.23'}
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Set ai_cmd] **************************************************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Execute ai_cmd] **********************************************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| included: /root/ansible-conf-init/tasks/execute-cmd.yml for localhost.my.domain
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:48 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:23 ip-172-16-99-147 ansible: |-
        Aug 23 09:12:23 ip-172-16-99-147 ansible:
        Aug 23 09:12:23 ip-172-16-99-147 ansible: True
        Aug 23 09:12:23 ip-172-16-99-147 ansible:      ansible-pull -i hosts -U git://172.16.99.21/ansible-conf-roles -d /root/ansible-conf-roles -e "ai_vars=/root/ansible-vars" -e "ai_pull_mode=true" pb-roles.yml &&  echo '[INFO] ansible-pull finished.'
        Aug 23 09:11:49 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Execute command async=3600 poll=0] ***************************************
        Aug 23 09:11:49 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:11:49 ip-172-16-99-147 ansible: n=ansible INFO| PLAY RECAP *********************************************************************
        Aug 23 09:11:49 ip-172-16-99-147 ansible: n=ansible INFO| localhost.my.domain        : ok=8    changed=1    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0
        Aug 23 09:11:50 ip-172-16-99-147 ansible: n=ansible INFO| Starting Ansible Pull at 2026-08-23 09:11:50
        Aug 23 09:11:50 ip-172-16-99-147 ansible: n=ansible INFO| /usr/local/bin/ansible-pull -i hosts -U git://172.16.99.21/ansible-conf-roles -d /root/ansible-conf-roles -e ai_vars=/root/ansible-vars -e ai_pull_mode=true pb-roles.yml
        Aug 23 09:11:50 ip-172-16-99-147 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-02
        Aug 23 09:11:52 ip-172-16-99-147 ansible: n=ansible INFO| localhost.my.domain | CHANGED => {
        Aug 23 09:12:23 ip-172-16-99-147 ansible: "90c5906a366cba3907eb615e1b8fad119793a6f1",
        Aug 23 09:12:23 ip-172-16-99-147 ansible: {
        Aug 23 09:12:23 ip-172-16-99-147 ansible: "/usr/local/bin/python3.12"
        Aug 23 09:12:23 ip-172-16-99-147 ansible:
        Aug 23 09:12:23 ip-172-16-99-147 ansible: null,
        Aug 23 09:12:23 ip-172-16-99-147 ansible: true
        Aug 23 09:12:23 ip-172-16-99-147 ansible:
        Aug 23 09:11:53 ip-172-16-99-147 ansible: n=ansible WARNING| [WARNING]: Could not match supplied host pattern, ignoring: www-02
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| PLAY [Use Ansible roles.] ******************************************************
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Include variables from ai_vars directory.] *******************************
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client-pkg.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/project-hosts.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/pkg-repo.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-db-class.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/ai-conf-roles.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] => (item=/root/ansible-vars/syslog-ng-client.yml)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Display vars.] ***********************************************************
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain] =>
        Aug 23 09:12:23 ip-172-16-99-147 ansible: |-
        Aug 23 09:12:23 ip-172-16-99-147 ansible: true
        Aug 23 09:12:23 ip-172-16-99-147 ansible: /root/ansible-vars
        Aug 23 09:12:23 ip-172-16-99-147 ansible: {'vbotka.freebsd.packages': ['conf', 'pkg-install'], 'vbotka.freebsd.postinstall': ['syslogd', 'syslog-ng']}
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| TASK [Include roles.] **********************************************************
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| included: vbotka.freebsd.packages for localhost.my.domain => (item=vbotka.freebsd.packages: conf)
        Aug 23 09:11:54 ip-172-16-99-147 ansible: n=ansible INFO| included: vbotka.freebsd.packages for localhost.my.domain => (item=vbotka.freebsd.packages: pkg-install)
        Aug 23 09:11:55 ip-172-16-99-147 ansible: n=ansible INFO| included: vbotka.freebsd.postinstall for localhost.my.domain => (item=vbotka.freebsd.postinstall: syslogd)
        Aug 23 09:11:55 ip-172-16-99-147 ansible: n=ansible INFO| included: vbotka.freebsd.postinstall for localhost.my.domain => (item=vbotka.freebsd.postinstall: syslog-ng)
        Aug 23 09:11:56 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Create directories] **********************
        Aug 23 09:11:56 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=/usr/local/etc/pkg)
        Aug 23 09:11:56 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=/usr/local/etc/pkg/repos)
        Aug 23 09:11:58 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Configure /usr/local/etc/pkg/repos] ******
        Aug 23 09:11:58 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain] => (item=pkg-repo)
        Aug 23 09:11:58 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Conf: Find repos] ******************************
        Aug 23 09:11:58 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:17 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.packages : Packages_install: Install list pkg_list] *******
        Aug 23 09:12:17 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:19 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Rcconf: Configure syslogd_enable in /etc/rc.conf] ***
        Aug 23 09:12:19 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:19 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Syslog-ng: Sanity fp_syslogng_conf is empty.] ***
        Aug 23 09:12:19 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]
        Aug 23 09:12:20 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Syslog-ng: Configure /usr/local/etc/syslog-ng.conf] ***
        Aug 23 09:12:20 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:21 ip-172-16-99-147 ansible: n=ansible INFO| TASK [vbotka.freebsd.postinstall : Rcconf: Configure syslog_ng_enable in /etc/rc.conf] ***
        Aug 23 09:12:21 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:23 ip-172-16-99-147 ansible: n=ansible INFO| RUNNING HANDLER [vbotka.freebsd.postinstall : Start syslog-ng] *****************
        Aug 23 09:12:23 ip-172-16-99-147 ansible: n=ansible INFO| changed: [localhost.my.domain]
        Aug 23 09:12:23 ip-172-16-99-147 syslog-ng[95142]: Loading the new configuration;
        Aug 23 09:12:23 ip-172-16-99-147 syslog-ng[95142]: Configuration reload finished;
        Aug 23 09:12:24 ip-172-16-99-147 1 2026-08-23T09:12:24.591528+02:00 www-02 ansible-vbotka.freebsd.service 95283 - - Invoked with command=stop script=syslogd list_enabled=False synopsis=False wait=0.5 env=None jail=None
        Aug 23 09:12:24 ip-172-16-99-147 ansible: n=ansible INFO| RUNNING HANDLER [vbotka.freebsd.postinstall : Reload syslog-ng] ****************
        Aug 23 09:12:24 ip-172-16-99-147 ansible: n=ansible INFO| ok: [localhost.my.domain]

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

PLAY RECAP *********************************************************************
log_server_01              : ok=3    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
www_01                     : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
www_02                     : ok=2    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

