ansible-module-powerdns icon indicating copy to clipboard operation
ansible-module-powerdns copied to clipboard

msg: 'Error: '

Open inetman28 opened this issue 4 years ago • 3 comments
trafficstars

hi I got below error. Could you please help me to solve issue?

The full traceback is:
  File "/var/folders/24/w6k0_g_s1vq5c4xvprz1_ck80000gp/T/ansible_powerdns_record_payload_fg0t06jz/ansible_powerdns_record_payload.zip/ansible/modules/powerdns_record.py", line 429, in main
  File "/var/folders/24/w6k0_g_s1vq5c4xvprz1_ck80000gp/T/ansible_powerdns_record_payload_fg0t06jz/ansible_powerdns_record_payload.zip/ansible/modules/powerdns_record.py", line 309, in ensure
  File "/var/folders/24/w6k0_g_s1vq5c4xvprz1_ck80000gp/T/ansible_powerdns_record_payload_fg0t06jz/ansible_powerdns_record_payload.zip/ansible/modules/powerdns_record.py", line 187, in get_record
  File "/var/folders/24/w6k0_g_s1vq5c4xvprz1_ck80000gp/T/ansible_powerdns_record_payload_fg0t06jz/ansible_powerdns_record_payload.zip/ansible/modules/powerdns_record.py", line 142, in _handle_request
[WARNING]: Module did not set no_log for pdns_api_password
fatal: [SWITCH1]: FAILED! => changed=false 
  invocation:
    module_args:
      content: 10.15.8.254
      disabled: false
      exclusive: true
      name: fsdfsdf.local
      pdns_api_key: null
      pdns_api_password: <password>
      pdns_api_username: <user_name>
      pdns_host: ns-master.local
      pdns_port: 80
      pdns_prot: http
      server: localhost
      set_ptr: false
      state: present
      strict_ssl_checking: true
      ttl: 600
      type: A
      zone: local
  msg: 'Error: '

inetman28 avatar Jun 22 '21 10:06 inetman28

@Nosmoht

inetman28 avatar Jun 25 '21 08:06 inetman28

Hi @inetman28,

i'm not working with PowerDNS anymore since years. Therefore i can't support you, sorry.

But maybe others could help you if you would post the code you are using. The repo still gets updates from the community ;)

Nosmoht avatar Jul 06 '21 14:07 Nosmoht

Almost 3 years later... but just for the record you might want to check the privileges. This endpoint is called and needs 'admin' '{url}/servers/{server}/search-data'

lordtaki avatar Feb 14 '24 14:02 lordtaki