File tree 3 files changed +32
-8
lines changed
3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 55
55
-Dmaven.test.skip=true \
56
56
package
57
57
58
- - name : Install ansible
59
- # NOTE: during version bump don't forget to update in other places: provisioning-by-ansible.yml and provisioning-by-terraform.yml
60
- run : pip3 install ansible==3.4.0
58
+ - name : Install mise to set up Ansible
59
+ uses :
jdx/[email protected] # https://github.com/jdx/mise-action
60
+ with :
61
+ version : 2025.3.2 # [default: latest] mise version to install
62
+ install : true # [default: true] run `mise install`
63
+ cache : true # [default: true] cache mise using GitHub's cache
64
+ log_level : info # [default: info] log level
65
+ working_directory : infra/ansible # [default: .] directory to run mise in
66
+ env :
67
+ # Workaround: don't install some dependencies that we don't use (java, maven) or don't want (python)
68
+ # See: https://github.com/jdx/mise-action/issues/183
69
+ # https://mise.jdx.dev/configuration/settings.html#disable_tools
70
+ MISE_DISABLE_TOOLS : java,maven,python
61
71
62
72
# https://docs.ansible.com/ansible/3/collections/community/general/uptimerobot_module.html
63
73
# https://docs.ansible.com/ansible/latest/collections_guide/collections_installing.html#installing-an-older-version-of-a-collection
Original file line number Diff line number Diff line change 28
28
# Whether to configure the token or SSH key with the local git config. Default: true
29
29
persist-credentials : false
30
30
31
- - name : Install ansible
32
- # NOTE: during version bump don't forget to update in other places: deploy.yml and provisioning-by-terraform.yml
33
- run : pip3 install ansible==3.4.0
31
+ - name : Install mise to set up Ansible
32
+ uses :
jdx/[email protected] # https://github.com/jdx/mise-action
33
+ with :
34
+ version : 2025.3.2 # [default: latest] mise version to install
35
+ install : true # [default: true] run `mise install`
36
+ cache : true # [default: true] cache mise using GitHub's cache
37
+ log_level : info # [default: info] log level
38
+ working_directory : infra/ansible # [default: .] directory to run mise in
39
+ env :
40
+ # Workaround: don't install some dependencies that we don't use (java, maven) or don't want (python)
41
+ # See: https://github.com/jdx/mise-action/issues/183
42
+ # https://mise.jdx.dev/configuration/settings.html#disable_tools
43
+ MISE_DISABLE_TOOLS : java,maven,python
34
44
35
45
- name : Show ansible version
36
46
run : ansible --version
Original file line number Diff line number Diff line change 59
59
MISE_DISABLE_TOOLS : java,maven
60
60
61
61
- name : Install ansible-vault
62
- # NOTE: during version bump don't forget to update in other places: deploy.yml and provisioning-by-ansible.yml
63
- run : pip3 install ansible==3.4.0
62
+ working-directory : infra/ansible
63
+ env :
64
+ # Don't install some dependencies that we don't use (java, maven) or don't want (python)
65
+ # https://mise.jdx.dev/configuration/settings.html#disable_tools
66
+ MISE_DISABLE_TOOLS : java,maven,python
67
+ run : mise install
64
68
65
69
- name : Show tools versions
66
70
env :
You can’t perform that action at this time.
0 commit comments