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

fix: fix linting #55

Merged
merged 1 commit into from
Aug 2, 2024
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 .github/workflows/ci-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
ansible:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ansible-community/ansible-lint-action@v6
- uses: actions/checkout@v4
- uses: ansible/ansible-lint@v24.7.0
with:
args: "ansible"
- run: 'echo "VM_TOKEN=foo" > .env'
Expand Down
21 changes: 11 additions & 10 deletions ansible/local.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
---
- hosts: all
- name: Node Playbook
hosts: all
gather_facts: true
become: true
vars:
manage_datadog: "{{ MANAGE_DATADOG | default('false') }}"
manage_docker: "{{ MANAGE_DOCKER | default('true') }}"
tasks:
- name: nodePlaybook | Update apt cache
apt:
- name: NodePlaybook | Update Apt Cache
ansible.builtin.apt:
update_cache: true
cache_valid_time: '{{ 60 * 60 * 24 }}'
tags:
- always
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'

- name: nodePlaybook | Include geerlingguy.docker role
include_role:
- name: NodePlaybook | Include Geerlingguy Docker Role
ansible.builtin.include_role:
name: geerlingguy.docker
apply:
tags:
- docker
vars:
docker_apt_arch: "{{ { 'aarch64': 'arm64', 'x86_64': 'amd64' }[ansible_facts.architecture] }}"
docker_apt_arch: "{{ {'aarch64': 'arm64', 'x86_64': 'amd64'}[ansible_facts.architecture] }}"
docker_compose_version: "v2.2.3"
docker_users: "{{ DOCKER_USERS | default(['ubuntu']) }}"
docker_daemon_options:
Expand All @@ -30,8 +31,8 @@
- always
when: manage_docker | bool

- name: nodePlaybook | install DataDog
include_role:
- name: NodePlaybook | Install DataDog
ansible.builtin.include_role:
name: datadog.datadog
apply:
tags:
Expand All @@ -57,8 +58,8 @@
tags:
- product:claims

- name: nodePlaybook | include vm_frontend role
include_role:
- name: NodePlaybook | Include VM Frontend Role
ansible.builtin.include_role:
name: vm_frontend
apply:
tags:
Expand Down
1 change: 1 addition & 0 deletions ansible/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Collections
collections:
- name: community.general
- name: community.docker
# From Galaxy
roles:
- src: datadog.datadog
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/vm_frontend/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
redis_enabled: false
vm_frontend_redis_enabled: false
vm_frontend_version: 'main'
vm_frontend_image: 'ghcr.io/blinklabs-io/discoin-vm-frontend:{{ vm_frontend_version }}'
vm_frontend_port: 3000
Loading