Repos with recipes to deploy some infrastructure services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 line
385 B

  1. ---
  2. - name: Obtain the version of the running PowerDNS Authoritative Server
  3. shell: "pdns_server --version 2>&1 | awk '/PowerDNS Authoritative/{print $7}'"
  4. register: _pdns_version
  5. check_mode: no
  6. changed_when: False
  7. - name: Export the running PowerDNS Authoritative Server version to a variable
  8. set_fact:
  9. _pdns_running_version: "{{ _pdns_version['stdout'] }}"