Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit d44bcf0

Browse files
authored
Merge pull request #211 from staticdev/dependabot/pip/dot-github/workflows/ansible-lint-6.13.0
Bump ansible-lint from 6.12.2 to 6.13.0 in /.github/workflows
2 parents c077278 + 67bb87d commit d44bcf0

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pip==23.0
22
ansible==7.2.0
33
yamllint==1.29.0
4-
ansible-lint==6.12.2
4+
ansible-lint==6.13.0

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

molecule/default/converge.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
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

tasks/main.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
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
@@ -47,6 +48,7 @@
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
@@ -62,10 +64,12 @@
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
@@ -76,8 +80,12 @@
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

0 commit comments

Comments
 (0)