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 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'
Original file line number Diff line number Diff line change 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 :
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 :
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 :
Original file line number Diff line number Diff line change 11# Collections
22collections :
33 - name : community.general
4+ - name : community.docker
45# From Galaxy
56roles :
67 - src : datadog.datadog
Original file line number Diff line number Diff line change 11---
2- redis_enabled : false
2+ vm_frontend_redis_enabled : false
33vm_frontend_version : ' main'
44vm_frontend_image : ' ghcr.io/blinklabs-io/discoin-vm-frontend:{{ vm_frontend_version }}'
55vm_frontend_port : 3000
You can’t perform that action at this time.
0 commit comments