Forum Discussion

Hem_66900's avatar
Hem_66900
Icon for Cirrus rankCirrus
Feb 12, 2018

Ansible 2.4 bugs

Does anyone know if bigip_monitor_https is part of the below ansible 2.4.1.0 version.I dont think it is.

 

Here is my playbook to create a https monitor and it is throwing error. Note:-bigip_monitor_http works great on same ansible version 2.4.1.0

 

  • hosts: localhost tasks:

     

    • name: Create HTTPS Monitor bigip_monitor_https: validate_certs: no name: Test-https-monitor send: "GET /f5chk.html HTTP/1.1\r\nHost: F5health.abc.com\r\nConnection: Close\r\n\r\n" receive: "HTTP/1.1 200 OK"

Let me know how can i interface custom module with existing ansible version.

 

2 Replies

  • Same thing this is true for module bigip_policy & bigip_policy_rule.

     

  • Possible bug with Ansible 2.4 when creating ssl certificate. Certificate/key is not seen in BIGIP.

     

    $ cat create-ssl_certificate-1.yaml
    • hosts: localhost tasks:

       

      • name: Import PEM Certificate from local disk bigip_ssl_certificate: name: test.com server: validate_certs: no user: password: state: present cert_content: "{{ lookup('file', 'test.com.cer') }}" key_content: "{{ lookup('file', 'test.com.key') }}"

    [X_GZMN4J@sat1lvdut013 Ansible]$ ansible-playbook create-ssl_certificate-1.yaml --check

     

    PLAY [localhost] *******************************************************************************************************************************************

     

    TASK [Gathering Facts] ************************************************************************************************************************************* ok: [localhost]

     

    TASK [Import PEM Certificate from local disk] ************************************************************************************************************** changed: [localhost]

     

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