Repos with recipes to deploy some infrastructure services
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

12 行
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'] }}"