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

33 行
672 B

  1. ---
  2. - name: Include OS-specific variables
  3. include_vars: "{{ ansible_facts.os_family }}.yml"
  4. tags:
  5. - always
  6. - include: "repo-{{ ansible_facts.os_family }}.yml"
  7. when: pdns_rec_install_repo != ""
  8. tags:
  9. - install
  10. - repository
  11. - include: install.yml
  12. tags:
  13. - install
  14. - include: configure.yml
  15. tags:
  16. - config
  17. - name: Set the status of the PowerDNS Recursor service
  18. service:
  19. name: "{{ pdns_rec_service_name }}"
  20. state: "{{ pdns_rec_service_state }}"
  21. enabled: "{{ pdns_rec_service_enabled }}"
  22. tags:
  23. - service
  24. - name: Force handlers flush
  25. meta: flush_handlers
  26. when: pdns_rec_flush_handlers