Execution
Date 01 Jan 2026 10:00:13 +0000
Duration 00:02:44.10
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.3 / 1.7.3
Python 3.10.10
Summary
396 Hosts
2 Tasks
787 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/projects/BotStopper/get-botstopper-servers.yaml

---
- name: Playbook to show which has botstopper installed
  hosts: all
  gather_facts: false
  tasks:
    - name: Get server info
      plesk_info:
      register: plsk
    - name: Save a list of botstoppers
      when: plsk.botstopper_found
      ansible.builtin.lineinfile:
        path: "/home/ssh-gateway/ansible/projects/BotStopper/botstoppers-servers.txt"
        line: "{{ inventory_hostname }} {{ plsk.botstopper_module_version }} {{ plsk.botstopper_version }}"
        create: true
        mode: '0644'
      delegate_to: 127.0.0.1