ansible/playbooks/deactivate_modernpaste_paste.yml
Ricky Elrod d32de3b5f4 fix comment typo
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2017-01-05 06:40:55 +00:00

11 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}}"