community / community.hrobot / 1.9.1 / module / reverse_dns Set or remove reverse DNS entry for IP | "added in version" 1.2.0 of community.hrobot" Authors: Felix Fontein (@felixfontein)community.hrobot.reverse_dns (1.9.1) — module
Install with ansible-galaxy collection install community.hrobot:==1.9.1
collections: - name: community.hrobot version: 1.9.1
Allows to set, update or remove a reverse DNS entry for an IP address.
- name: Set reverse DNS entry for 1.2.3.4 community.hrobot.reverse_dns: hetzner_user: foo hetzner_password: bar ip: 1.2.3.4 value: foo.example.com
- name: Remove reverse DNS entry for 2a01:f48:111:4221::1 community.hrobot.reverse_dns: hetzner_user: foo hetzner_password: bar ip: 2a01:f48:111:4221::1 state: absent
ip: description: - The IP address to set or remove a reverse DNS entry for. required: true type: str state: choices: - present - absent default: present description: - Whether to set or update (V(present)) or delete (V(absent)) the reverse DNS entry for O(ip). type: str value: description: - The reverse DNS entry for O(ip). - Required if O(state=present). type: str hetzner_user: description: The username for the Robot webservice user. required: true type: str hetzner_password: description: The password for the Robot webservice user. required: true type: str