Skip to content

Module 3, Lab 2 Failing #224

Open
Open
@rlombardi12

Description

@rlombardi12

Task 3.2.2.2.1 Pull WAF policy from the BIG-IP A is failing. Getting the following error:
fatal: [localhost -> localhost]: FAILED! => {
"changed": false,
"module_stderr": "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\nTraceback (most recent call last):\n File "/tmp/ansible_3ObWKB/ansible_module_f5_asm_getExportedPolicy.py", line 96, in \n main()\n File "/tmp/ansible_3ObWKB/ansible_module_f5_asm_getExportedPolicy.py", line 87, in main\n if obj.run():\n File "/tmp/ansible_3ObWKB/ansible_module_f5_asm_getExportedPolicy.py", line 57, in run\n f = open( "/home/snops/f5-rs-waf/roles/waf_policies/files/waf_policies/" + str(self._policy_new_name[0]) + ".xml","w")\nIOError: [Errno 13] Permission denied: '/home/snops/f5-rs-waf/roles/waf_policies/files/waf_policies/owasptop10-v02.xml'\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 1
}
[WARNING]: Could not create retry file '/home/snops/f5-rs-
waf/playbooks/manage_waf_policies.retry'. [Errno 13] Permission denied:
u'/home/snops/f5-rs-waf/playbooks/manage_waf_policies.retry'

PLAY RECAP *********************************************************************
localhost : ok=3 changed=3 unreachable=0 failed=1

Build step 'Execute shell' marked build as failure
[Slack Notifications] found #1 as previous completed, non-aborted build
Finished: FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions