mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 20:16:58 +08:00
12 lines
475 B
YAML
12 lines
475 B
YAML
# requires --extra-vars="target='modernpaste01.phx2.fedoraproject.org' paste='WMk4~kSfeW1OUNsLjF8hlMnRi-rYnlYzizqToCmG3BY='"
|
|
# where target is the box to run it on (usually modernpaste01.phx2 or modernpaste01.stg.phx2)
|
|
# and where paste is the encrypted paste ID of the paste.
|
|
|
|
- name: Deactivates a modern-paste paste
|
|
hosts: "{{ target }}"
|
|
user: root
|
|
|
|
tasks:
|
|
- name: Run deactivate-paste.py
|
|
command: "python /usr/local/bin/deactivate-paste.py {{paste}}"
|