Skip to content

Commit

Permalink
update ansible-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Niicck authored and ltalirz committed Nov 6, 2023
1 parent f8d4676 commit 437bb94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ skip_list:
- fqcn-builtins
- yaml[line-length]
- risky-shell-pipe
- no-changed-when
- key-order[task]

warn_list:
- role-name
Expand Down
7 changes: 4 additions & 3 deletions tasks/dokku-daemon.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
- block:
- name: Install dokku-daemon
when: dokku_daemon_install
block:
- name: ensure github.com is a known host
lineinfile:
dest: /root/.ssh/known_hosts
Expand All @@ -10,7 +12,7 @@
tags:
- dokku-daemon

# Needed for Debian, see https://github.com/dokku/dokku-daemon/issues/27
# Needed for Debian, see https://github.com/dokku/dokku-daemon/issues/27
- name: install socat package
apt:
name: socat
Expand Down Expand Up @@ -42,4 +44,3 @@
- start dokku-daemon
tags:
- dokku-daemon
when: dokku_daemon_install
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- dokku
- dokku-plugins
when: dokku_plugins is defined and installed_dokku_plugins.stdout.find(item.name) == -1
changed_when: true
with_items: "{{ dokku_plugins }}"

- name: dokku plugin:update
Expand All @@ -60,7 +61,7 @@
- dokku
- dokku-plugins

- name: dokku:plugin install-dependencies
- name: dokku:plugin install-dependencies # noqa: no-changed-when
command: dokku plugin:install-dependencies
tags:
- dokku
Expand Down
1 change: 1 addition & 0 deletions tasks/ssh-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
shell: echo "{{ ssh_key }}" | dokku ssh-keys:add {{ username }}
no_log: true
when: force_add or ssh_key_list.find(sha256.stdout) == -1
changed_when: true

0 comments on commit 437bb94

Please sign in to comment.