This repository was archived by the owner on Mar 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11pip==23.0
22ansible==7.2.0
33yamllint==1.29.0
4- ansible-lint==6.12.2
4+ ansible-lint==6.13.0
Original file line number Diff line number Diff line change 11---
2- - name : delete poetry installer
2+ - name : Delete poetry installer
33 ansible.builtin.file :
44 path : " /home/{{ lookup('env', 'USER') }}/install-poetry.py"
55 state : absent
Original file line number Diff line number Diff line change 66
77 pre_tasks :
88 - name : Update apt cache.
9- ansible.builtin.apt : update_cache=yes cache_valid_time=600
9+ ansible.builtin.apt :
10+ update_cache : true
11+ cache_valid_time : 600
1012 when : ansible_os_family == 'Debian'
1113
1214 # https://askubuntu.com/questions/1428181/module-lib-has-no-attribute-x509-v-flag-cb-issuer-check
Original file line number Diff line number Diff line change 3737- name : Install pre-commit
3838 ansible.builtin.command : " {{ ansible_env.HOME }}/.local/bin/pipx install pre-commit"
3939 register : output
40+ changed_when : " output.rc == 0"
4041 when : pre_commit_check is failed
4142
4243- name : Check if cookiecutter is installed
4748- name : Install cookiecutter
4849 ansible.builtin.command : " {{ ansible_env.HOME }}/.local/bin/pipx install cookiecutter"
4950 register : output
51+ changed_when : " output.rc == 0"
5052 when : cookiecutter_folder_check is failed
5153
5254- name : Check if poetry is installed
6264 mode : " 0400"
6365 timeout : 20
6466 when : poetry_cmd is failed
65- notify : delete poetry installer
67+ notify : Delete poetry installer
6668
6769- name : Install poetry
6870 ansible.builtin.command : " python3 {{ ansible_env.HOME }}/install-poetry.py"
71+ register : output
72+ changed_when : " output.rc == 0"
6973 when : poetry_cmd is failed
7074
7175- name : Check if nox is installed
7680
7781- name : Install nox
7882 ansible.builtin.command : " {{ ansible_env.HOME }}/.local/bin/pipx install nox"
83+ register : output
84+ changed_when : " output.rc == 0"
7985 when : nox_version_cmd is failed
8086
8187- name : Install nox-poetry
8288 ansible.builtin.command : " {{ ansible_env.HOME }}/.local/bin/pipx inject nox nox-poetry"
89+ register : output
90+ changed_when : " output.rc == 0"
8391 when : nox_version_cmd is failed
You can’t perform that action at this time.
0 commit comments