feat: remove become from role
All checks were successful
test / Linting (push) Successful in 23s
test / Molecule tests (default, debian12) (push) Successful in 2m4s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m33s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m54s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 4m59s
All checks were successful
test / Linting (push) Successful in 23s
test / Molecule tests (default, debian12) (push) Successful in 2m4s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m33s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 1m54s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 4m59s
This commit is contained in:
parent
bb20de532f
commit
f189113ebf
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Include ednxzu.manage_pipx_packages"
|
||||
ansible.builtin.include_role:
|
||||
|
@ -1,7 +1,8 @@
|
||||
---
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Test: file /etc/hosts"
|
||||
block:
|
||||
@ -26,7 +27,6 @@
|
||||
PIPX_HOME: "/opt/pipx"
|
||||
changed_when: false
|
||||
register: pipx_installed_packages
|
||||
become: true
|
||||
|
||||
- name: "Set fact"
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Include ednxzu.manage_pipx_packages"
|
||||
ansible.builtin.include_role:
|
||||
|
@ -2,6 +2,7 @@
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Test: file /etc/hosts"
|
||||
block:
|
||||
@ -30,7 +31,6 @@
|
||||
PIPX_HOME: "/opt/pipx"
|
||||
changed_when: false
|
||||
register: pipx_installed_packages
|
||||
become: true
|
||||
|
||||
- name: "Set fact"
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Include ednxzu.manage_pipx_packages"
|
||||
ansible.builtin.include_role:
|
||||
|
@ -1,7 +1,8 @@
|
||||
---
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Test: file /etc/hosts"
|
||||
block:
|
||||
@ -26,7 +27,6 @@
|
||||
PIPX_HOME: "/opt/pipx"
|
||||
changed_when: false
|
||||
register: pipx_installed_packages
|
||||
become: true
|
||||
|
||||
- name: "Set fact"
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Include ednxzu.manage_pipx_packages"
|
||||
ansible.builtin.include_role:
|
||||
|
@ -2,6 +2,7 @@
|
||||
- name: Verify
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
become: true
|
||||
tasks:
|
||||
- name: "Test: file /etc/hosts"
|
||||
block:
|
||||
@ -30,7 +31,6 @@
|
||||
PIPX_HOME: "/opt/pipx"
|
||||
changed_when: false
|
||||
register: pipx_installed_packages
|
||||
become: true
|
||||
|
||||
- name: "Set fact"
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -14,4 +14,3 @@
|
||||
loop: "{{ manage_pipx_packages_list }}"
|
||||
when: manage_pipx_packages_list is defined
|
||||
and manage_pipx_packages_list not in [None, '']
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user