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

---
- include: debian.yml
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- include: centos.yml
when: ansible_distribution == 'CentOS' or ansible_distribution == 'CloudLinux' or ansible_distribution == 'Virtuozzo'
- name: Create directory to override conf in systemd
file:
path: /etc/systemd/system/rudder-cf-serverd.service.d
state: directory
- name: Disable 5.0.9 default log verbosity
copy:
src: rudder_override.conf
dest: /etc/systemd/system/rudder-cf-serverd.service.d/override.conf
notify:
- reload systemd
- restart rudder-cf-serverd
- fail: msg="You can now connect to your rudder server and allow new nodes"
ignore_errors: yes