ls-2024-selection/ansible/playbooks/02-delete-podman-shell.yml

8 lines
223 B
YAML

---
- name: Delete shell.php in Podman container
hosts: localhost
gather_facts: no
tasks:
- name: Run Podman command to delete shell.php
command: "podman exec -it 4d05d4a1a404 rm -f /var/www/html/shell.php"