Skip to content

Commit

Permalink
ci: Fix implicit octal values in main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HVSharma12 authored and richm committed Oct 26, 2023
1 parent 1be50cb commit 3f7c374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
file:
path: "{{ role_path }}/debug"
state: directory
mode: 0700
mode: "0700"

- name: Delete debug file
file:
Expand All @@ -90,7 +90,7 @@
path: "{{ role_path }}/debug/main.yml"
create: true
line: "#ANSIBLE MANAGED VARIABLES FILE"
mode: 0600
mode: "0600"

- name: Use a debug var to avoid an empty dict in with_dict
set_fact:
Expand All @@ -105,7 +105,7 @@
create: true
line: "{{ item.key }}: {{ item.value | d() |
to_nice_json(indent=2) }}"
mode: 0600
mode: "0600"
with_dict: "{{ __logging_debug_hostname }}"

- name: Include Rsyslog role
Expand Down

0 comments on commit 3f7c374

Please sign in to comment.