This repository was archived by the owner on Sep 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed
roles/vm_frontend/defaults Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 9
9
ansible :
10
10
runs-on : ubuntu-latest
11
11
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
14
14
with :
15
15
args : " ansible"
16
16
- run : ' echo "VM_TOKEN=foo" > .env'
Original file line number Diff line number Diff line change 1
1
---
2
- - hosts : all
2
+ - name : Node Playbook
3
+ hosts : all
3
4
gather_facts : true
4
5
become : true
5
6
vars :
6
7
manage_datadog : " {{ MANAGE_DATADOG | default('false') }}"
7
8
manage_docker : " {{ MANAGE_DOCKER | default('true') }}"
8
9
tasks :
9
- - name : nodePlaybook | Update apt cache
10
- apt :
10
+ - name : NodePlaybook | Update Apt Cache
11
+ ansible.builtin. apt :
11
12
update_cache : true
12
13
cache_valid_time : ' {{ 60 * 60 * 24 }}'
13
14
tags :
14
15
- always
15
16
when : ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
16
17
17
- - name : nodePlaybook | Include geerlingguy.docker role
18
- include_role :
18
+ - name : NodePlaybook | Include Geerlingguy Docker Role
19
+ ansible.builtin. include_role :
19
20
name : geerlingguy.docker
20
21
apply :
21
22
tags :
22
23
- docker
23
24
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] }}"
25
26
docker_compose_version : " v2.2.3"
26
27
docker_users : " {{ DOCKER_USERS | default(['ubuntu']) }}"
27
28
docker_daemon_options :
30
31
- always
31
32
when : manage_docker | bool
32
33
33
- - name : nodePlaybook | install DataDog
34
- include_role :
34
+ - name : NodePlaybook | Install DataDog
35
+ ansible.builtin. include_role :
35
36
name : datadog.datadog
36
37
apply :
37
38
tags :
57
58
tags :
58
59
- product:claims
59
60
60
- - name : nodePlaybook | include vm_frontend role
61
- include_role :
61
+ - name : NodePlaybook | Include VM Frontend Role
62
+ ansible.builtin. include_role :
62
63
name : vm_frontend
63
64
apply :
64
65
tags :
Original file line number Diff line number Diff line change 1
1
# Collections
2
2
collections :
3
3
- name : community.general
4
+ - name : community.docker
4
5
# From Galaxy
5
6
roles :
6
7
- src : datadog.datadog
Original file line number Diff line number Diff line change 1
1
---
2
- redis_enabled : false
2
+ vm_frontend_redis_enabled : false
3
3
vm_frontend_version : ' main'
4
4
vm_frontend_image : ' ghcr.io/blinklabs-io/discoin-vm-frontend:{{ vm_frontend_version }}'
5
5
vm_frontend_port : 3000
You can’t perform that action at this time.
0 commit comments