Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix implicit octal values in main.yml #220

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
src: chrony.conf.j2
dest: "{{ timesync_chrony_conf_path }}"
backup: true
mode: 0644
mode: "0644"
# wokeignore:rule=master
notify: Restart {{ 'chronyd' if timesync_mode == 1 else 'timemaster' }}
when:
Expand All @@ -115,7 +115,7 @@
src: chronyd.sysconfig.j2
dest: "{{ timesync_chrony_sysconfig_path }}"
backup: true
mode: 0644
mode: "0644"
notify: Restart chronyd
when:
- timesync_mode == 1
Expand All @@ -127,7 +127,7 @@
src: ntp.conf.j2
dest: /etc/ntp.conf
backup: true
mode: 0644
mode: "0644"
# wokeignore:rule=master
notify: Restart {{ 'ntpd' if timesync_mode == 1 else 'timemaster' }}
when:
Expand All @@ -140,7 +140,7 @@
src: ntpd.sysconfig.j2
dest: "{{ timesync_ntp_sysconfig_path }}"
backup: true
mode: 0644
mode: "0644"
notify: Restart ntpd
when:
- timesync_mode == 1
Expand All @@ -152,7 +152,7 @@
src: ptp4l.conf.j2
dest: /etc/ptp4l.conf
backup: true
mode: 0644
mode: "0644"
notify: Restart ptp4l
when:
- timesync_mode == 2
Expand All @@ -163,7 +163,7 @@
src: ptp4l.sysconfig.j2
dest: "{{ timesync_ptp4l_sysconfig_path }}"
backup: true
mode: 0644
mode: "0644"
notify: Restart ptp4l
when:
- timesync_mode == 2
Expand All @@ -175,7 +175,7 @@
src: phc2sys.sysconfig.j2
dest: /etc/sysconfig/phc2sys
backup: true
mode: 0644
mode: "0644"
notify: Restart phc2sys
when:
- timesync_mode == 2
Expand All @@ -191,7 +191,7 @@
# wokeignore:rule=master
dest: "{{ timesync_timemaster_config_path }}"
backup: true
mode: 0644
mode: "0644"
# wokeignore:rule=master
notify: Restart timemaster
when:
Expand All @@ -203,7 +203,7 @@
dest: /etc/sysconfig/network
create: true
backup: true
mode: 0644
mode: "0644"
regexp: '^PEERNTP='
line: 'PEERNTP=no'
# yamllint disable-line rule:line-length
Expand Down
Loading