Repos with recipes to deploy some infrastructure services
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

19 linhas
482 B

  1. ---
  2. - name: Prepare the Molecule Test Resources
  3. hosts: pdns-rec
  4. tasks:
  5. # Install rsyslog to capture the PowerDNS Recursor log messages
  6. # when the service is not managed by systemd
  7. - block:
  8. - name: Install rsyslog
  9. package:
  10. name: rsyslog
  11. state: present
  12. - name: Start rsyslog
  13. service:
  14. name: rsyslog
  15. state: started
  16. when: ansible_facts.service_mgr != 'systemd'