Files
fedora-infra_ansible/playbooks/deactivate_modernpaste_paste.yml
2016-12-05 18:35:13 +00:00

12 lines
475 B
YAML

# requires --extra-vars="target='modernpaste01.phx2.fedoraprjoect.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}}"