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 #139

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
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
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