Execution
Date 23 Jul 2025 12:10:33 +0100
Duration 00:00:01.30
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
2 Hosts
2 Tasks
2 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/test_notification.yaml

---
- name: Playbook to test zulip notification
  hosts: localhost
  gather_facts: true
  vars:
    notify_zulip:
      enabled: true
    
  tasks:
    - name: Test task that succeeds
      ansible.builtin.debug:
        msg: "This task always succeeds"
    - name: Test task that changes
      ansible.builtin.lineinfile:
        path: "/tmp/test_file.txt"
        line: "Test line added at {{ '%Y-%m-%d %H:%M:%S' | strftime }}"
        create: true
        mode: '0640'
      delegate_to: 127.0.0.1