Execution
Date 14 Jan 2026 15:31:52 +0000
Duration 00:00:13.67
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
0 Hosts
1 Tasks
0 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/RM10253-add-alt-php84-5.yaml

---
- name: RM10253 alt php installs
  hosts: all,!phase1
  gather_facts: false
  vars:
    download_url: https://deploy.thecode.casa/php-module-enabler/RM10253/main.sh
    dst_path: /root/RM10253-files
  tasks:
    - name: Create folder
      ansible.builtin.file:
        force: true
        path: "{{ dst_path }}"
        recurse: true
        state: directory
    - name: Download file from URL
      ansible.builtin.get_url:
        url: "{{ download_url }}"
        dest: "{{ dst_path }}"
        owner: root
        group: root
        mode: '0755'
        backup: true
        use_netrc: false
    - name: Install phps
      ansible.builtin.shell: |
        set -o pipefail
        cd "{{ dst_path }}"
        ./main.sh alt-php84
        ./main.sh alt-php85
      args:
        executable: /bin/bash
      changed_when: false