Skip to Content
Security Automation with Ansible 2
book

Security Automation with Ansible 2

by Akash Mahajan, MADHU AKULA
December 2017
Intermediate to advanced
364 pages
7h 30m
English
Packt Publishing
Content preview from Security Automation with Ansible 2

Playbook for the module

Here is a simple playbook to test whether everything is working:

- name: Testing OWASP ZAP Test Module  connection: local  hosts: localhost  tasks:  - name: Scan a website    owasp_zap_test_module:      host: "http://172.16.1.102:8080"      target: "http://testphp.vulnweb.com"

Execute the playbook with this command:

ansible-playbook owasp-zap-site-scan-module-playbook.yml

An important thing to remember is that just because we have a working module doesn't mean that the good folks at Ansible will automatically accept our module to ship with their next version of the software. A lot of additional work is required for our module to be ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing DevOps with Ansible 2

Implementing DevOps with Ansible 2

Jonathan McAllister
Practical Ansible 2

Practical Ansible 2

Daniel Oh, James Freeman, Fabio Alessandro Locati

Publisher Resources

ISBN: 9781788394512Supplemental Content