Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 29, 2024
1 parent f6df501 commit 5d51afa
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
matrix:
include:
- distro: debian10
ansible-version: '>=9, <10'
- distro: debian11
- distro: debian12
- distro: ubuntu1804
Expand Down
4 changes: 2 additions & 2 deletions tasks/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
state: directory
owner: "{{ item.owner }}"
group: "{{ item.group | default(item.owner) }}"
mode: 0700
mode: '0700'
with_items: "{{ ssh_keys_private_keys }}"
when: item.dest_managed | default(true)
tags:
Expand All @@ -19,7 +19,7 @@
state: directory
owner: "{{ item.owner }}"
group: "{{ item.group | default(item.owner) }}"
mode: 0700
mode: '0700'
with_items: "{{ ssh_keys_public_keys }}"
when: item.dest_managed | default(true)
tags:
Expand Down
2 changes: 1 addition & 1 deletion tasks/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
path: "{{ item.path | dirname }}"
owner: "{{ item.owner }}"
group: "{{ item.group | default(item.owner) }}"
mode: 0700
mode: '0700'
state: directory
with_items: "{{ ssh_keys_generate_keys }}"
tags:
Expand Down
4 changes: 2 additions & 2 deletions tasks/known-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
state: directory
owner: root
group: root
mode: 0755
mode: '0755'
with_items: "{{ _stat_directories.results }}"
when: not item.stat.exists | bool
tags:
Expand All @@ -29,6 +29,6 @@
dest: "{{ ssh_keys_known_hosts_path }}"
owner: root
group: root
mode: 0644
mode: '0644'
tags:
ssh-keys-known-hosts-update
3 changes: 2 additions & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: localhost
- name: converge
hosts: localhost
connection: local
become: true
pre_tasks:
Expand Down
3 changes: 2 additions & 1 deletion tests/vagrant.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# test file
---
- hosts: all
- name: converge
hosts: all
remote_user: vagrant
become: true
pre_tasks:
Expand Down

0 comments on commit 5d51afa

Please sign in to comment.