Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

Commit cd12177

Browse files
authored
Merge pull request #115 from staticdev/bugfix/yamllint-errors
Fix yamllint errors
2 parents d83f93c + 7881b6f commit cd12177

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ repos:
1414
hooks:
1515
- id: prettier
1616
- repo: https://github.com/adrienverge/yamllint.git
17-
rev: v1.27.1
17+
rev: v1.28.0
1818
hooks:
1919
- id: yamllint
2020
args: ["-c=.yamllint", "."]
2121
- repo: https://github.com/ansible-community/ansible-lint.git
22-
rev: v6.4.0
22+
rev: v6.8.0
2323
hooks:
2424
- id: ansible-lint
2525
files: \.(yaml|yml)$

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ galaxy_info:
66

77
license: MIT
88

9-
min_ansible_version: 2.11
9+
min_ansible_version: "2.11"
1010

1111
platforms:
1212
- name: Debian

molecule/default/converge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
pre_tasks:
66
- name: Update apt cache.
7-
ansible.builtin.apt: update_cache=yes cache_valid_time=600
7+
ansible.builtin.apt:
8+
update_cache: true
9+
cache_valid_time: 600
810
when: ansible_os_family == 'Debian'
911

1012
- name: Ensures dependencies are installed

tasks/keyring-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
set -o pipefail
1717
cat {{ tmp_dir.path }}/keys.asc | gpg --dearmor > {{ tmp_dir.path }}/signal-desktop-keyring.gpg
1818
cat {{ tmp_dir.path }}/signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
19-
creates=/usr/share/keyrings/signal-desktop-keyring.gpg
2019
args:
20+
creates: /usr/share/keyrings/signal-desktop-keyring.gpg
2121
executable: /bin/bash
2222
become: true

tasks/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@
55
register: keyring_file
66

77
- name: Keyring setup
8-
include_tasks: keyring-setup.yml
8+
ansible.builtin.include_tasks: keyring-setup.yml
99
when: not keyring_file.stat.exists
1010

1111
- name: Add Signal repository to list of repositories
1212
ansible.builtin.shell: |
1313
set -o pipefail
1414
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
1515
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
16-
creates=/etc/apt/sources.list.d/signal-xenial.list
1716
args:
17+
creates: /etc/apt/sources.list.d/signal-xenial.list
1818
executable: /bin/bash
1919

2020
- name: Update apt cache
21-
ansible.builtin.apt: update_cache=yes
21+
ansible.builtin.apt:
22+
update_cache: true
2223
become: true
2324

2425
- name: Install Signal

0 commit comments

Comments
 (0)