Repos with recipes to deploy some infrastructure services
Não pode escolher mais do que 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.
|
- ---
-
- - name: Prepare the Molecule Test Resources
- hosts: pdns
- tasks:
- # Make sure the default MySQL and SQLite
- # schemas are installed in /usr/share/doc/
- - name: Disable the YUM 'nodocs' option
- lineinfile:
- line: tsflags=nodocs
- dest: /etc/yum.conf
- state: absent
- when: ansible_pkg_mgr == 'yum'
-
- - name: Disable the APT 'nodoc' option
- lineinfile:
- line: path-exclude=/usr/share/doc/*
- dest: /etc/dpkg/dpkg.cfg.d/excludes
- state: absent
-
- # Install rsyslog to capture the PDNS log messages
- # when the service is not managed by systemd
- - block:
- - name: Install rsyslog
- package:
- name: rsyslog
- state: present
-
- - name: Start rsyslog
- service:
- name: rsyslog
- state: started
- when: ansible_service_mgr != 'systemd'
|