Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit aca9076

Browse files
authored
fix: fix linting (#55)
Signed-off-by: Ales Verbic <[email protected]>
1 parent c5bc07d commit aca9076

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/workflows/ci-ansible.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
ansible:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: ansible-community/ansible-lint-action@v6
12+
- uses: actions/checkout@v4
13+
- uses: ansible/ansible-lint@v24.7.0
1414
with:
1515
args: "ansible"
1616
- run: 'echo "VM_TOKEN=foo" > .env'

ansible/local.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
---
2-
- hosts: all
2+
- name: Node Playbook
3+
hosts: all
34
gather_facts: true
45
become: true
56
vars:
67
manage_datadog: "{{ MANAGE_DATADOG | default('false') }}"
78
manage_docker: "{{ MANAGE_DOCKER | default('true') }}"
89
tasks:
9-
- name: nodePlaybook | Update apt cache
10-
apt:
10+
- name: NodePlaybook | Update Apt Cache
11+
ansible.builtin.apt:
1112
update_cache: true
1213
cache_valid_time: '{{ 60 * 60 * 24 }}'
1314
tags:
1415
- always
1516
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
1617

17-
- name: nodePlaybook | Include geerlingguy.docker role
18-
include_role:
18+
- name: NodePlaybook | Include Geerlingguy Docker Role
19+
ansible.builtin.include_role:
1920
name: geerlingguy.docker
2021
apply:
2122
tags:
2223
- docker
2324
vars:
24-
docker_apt_arch: "{{ { 'aarch64': 'arm64', 'x86_64': 'amd64' }[ansible_facts.architecture] }}"
25+
docker_apt_arch: "{{ {'aarch64': 'arm64', 'x86_64': 'amd64'}[ansible_facts.architecture] }}"
2526
docker_compose_version: "v2.2.3"
2627
docker_users: "{{ DOCKER_USERS | default(['ubuntu']) }}"
2728
docker_daemon_options:
@@ -30,8 +31,8 @@
3031
- always
3132
when: manage_docker | bool
3233

33-
- name: nodePlaybook | install DataDog
34-
include_role:
34+
- name: NodePlaybook | Install DataDog
35+
ansible.builtin.include_role:
3536
name: datadog.datadog
3637
apply:
3738
tags:
@@ -57,8 +58,8 @@
5758
tags:
5859
- product:claims
5960

60-
- name: nodePlaybook | include vm_frontend role
61-
include_role:
61+
- name: NodePlaybook | Include VM Frontend Role
62+
ansible.builtin.include_role:
6263
name: vm_frontend
6364
apply:
6465
tags:

ansible/requirements.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Collections
22
collections:
33
- name: community.general
4+
- name: community.docker
45
# From Galaxy
56
roles:
67
- src: datadog.datadog
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
redis_enabled: false
2+
vm_frontend_redis_enabled: false
33
vm_frontend_version: 'main'
44
vm_frontend_image: 'ghcr.io/blinklabs-io/discoin-vm-frontend:{{ vm_frontend_version }}'
55
vm_frontend_port: 3000

0 commit comments

Comments
 (0)