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.

21 lines
702 B

  1. ---
  2. - include: debian.yml
  3. when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
  4. - include: centos.yml
  5. when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo'
  6. - name: Create directory to override conf in systemd
  7. file:
  8. path: /etc/systemd/system/rudder-cf-serverd.service.d
  9. state: directory
  10. - name: Disable 5.0.9 default log verbosity
  11. copy:
  12. src: rudder_override.conf
  13. dest: /etc/systemd/system/rudder-cf-serverd.service.d/override.conf
  14. notify:
  15. - reload systemd
  16. - restart rudder-cf-serverd
  17. - fail: msg="You can now connect to your rudder server and allow new nodes"
  18. ignore_errors: yes