summaryrefslogtreecommitdiff
path: root/admin/test-cve-2015-0235-ghost.yml
blob: 6090eb2bfd6228b90bdbdcd77bbdf01be6302cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Test systems for CVE-2015-0235 GHOST
#
# http://www.openwall.com/lists/oss-security/2015/01/27/9
---
- hosts: all
  gather_facts: False
  tasks:
    - name: copy in the cve-2015-0235-ghost-x86-64 test program
      copy: src=cve-2015-0235-ghost-x86-64 dest=~ mode=755

    - name: run the test program
      command: ~/cve-2015-0235-ghost-x86-64
      register: test_output

    - debug: var=test_output.stdout_lines

    - name: remove test program again
      file: path=~/cve-2015-0235-ghost-x86-64 state=absent