Skip to content

Commit

Permalink
ci: Fix implicit octal values
Browse files Browse the repository at this point in the history
  • Loading branch information
HVSharma12 authored and richm committed Dec 18, 2023
1 parent f6e9bb3 commit dccaedb
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
- name: Create custom port configuration file
copy:
dest: /etc/systemd/system/cockpit.socket.d/listen.conf
mode: 0644
mode: "0644"
owner: root
group: root
content: |
Expand Down Expand Up @@ -78,7 +78,7 @@
template:
src: templates/cockpit.conf.j2
dest: /etc/cockpit/cockpit.conf
mode: 0644
mode: "0644"
owner: root
group: root
backup: true
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_certificate_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
path: /etc/cockpit/ws-certs.d/
state: directory
setype: cert_t
mode: 0755
mode: "0755"
# has to be done dynamically, as the first step checks it out
- name: Generate certificate with certificate system role
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_certificate_runafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
path: /etc/cockpit/ws-certs.d/
state: directory
setype: cert_t
mode: 0755
mode: "0755"

# has to be done dynamically, as the first step checks it out
- name: Generate certificate with certificate system role
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
LoginTitle = hello world
dest: /run/cockpit.conf.expected
mode: 0600
mode: "0600"

- name: Test - compare generated with expected configuration file
command: diff -u /run/cockpit.conf.expected /etc/cockpit/cockpit.conf
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
dest: /run/out
url: https://localhost:9090
validate_certs: false
mode: 0600
mode: "0600"

- name: Test - HTTP response is something sensible
command: grep 'id="login-user-input"' /run/out
Expand Down
4 changes: 2 additions & 2 deletions tests/tests_port.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
dest: /run/out
url: https://localhost
validate_certs: false
mode: 0600
mode: "0600"

- name: Test - HTTP response is something sensible
command: grep 'id="login-user-input"' /run/out
Expand All @@ -42,7 +42,7 @@
dest: /run/out
url: https://localhost:9090
validate_certs: false
mode: 0600
mode: "0600"
register: result
failed_when: result is succeeded

Expand Down
4 changes: 2 additions & 2 deletions tests/tests_port2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
dest: /run/out
url: https://localhost
validate_certs: false
mode: 0600
mode: "0600"

- name: Test - HTTP response is something sensible
command: grep 'id="login-user-input"' /run/out
Expand All @@ -34,7 +34,7 @@
dest: /run/out
url: https://localhost:9090
validate_certs: false
mode: 0600
mode: "0600"
register: result
failed_when: result is succeeded

Expand Down

0 comments on commit dccaedb

Please sign in to comment.