fix lint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-06-04 21:23:17 +02:00
parent b7446b79c0
commit ae128a537d

View file

@ -3,15 +3,25 @@
include_vars: "{{ ansible_os_family }}.yml" include_vars: "{{ ansible_os_family }}.yml"
- name: Install chrony packages - name: Install chrony packages
package: name="{{ chrony_packages_name }}" state=latest update_cache=yes package:
name: "{{ chrony_packages_name }}"
state: present
update_cache: yes
notify: Restart chronyd notify: Restart chronyd
- name: Deploy chronyd configuration - name: Deploy chronyd configuration
template: src=chrony.conf.j2 dest=/etc/chrony.conf owner=root group=root mode=0644 template:
src: chrony.conf.j2
dest: /etc/chrony.conf
owner: root
group: root
mode: 0644
notify: Restart chronyd notify: Restart chronyd
- name: Enable chronyd on boot - name: Enable chronyd on boot
service: name=chronyd enabled=yes service:
name: chronyd
enabled: yes
- name: Open Firewalld - name: Open Firewalld
firewalld: firewalld: