fix linting
Some checks failed
test / Linting (push) Failing after 7s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian11) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian12) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Has been skipped
Some checks failed
test / Linting (push) Failing after 7s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian11) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian12) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Has been skipped
This commit is contained in:
parent
880451bcd5
commit
b83a5e9816
@ -68,10 +68,6 @@
|
|||||||
- stat_etc_apt_sources_list_d.stat.gr_name == 'root'
|
- stat_etc_apt_sources_list_d.stat.gr_name == 'root'
|
||||||
- stat_etc_apt_sources_list_d.stat.mode == '0644'
|
- stat_etc_apt_sources_list_d.stat.mode == '0644'
|
||||||
|
|
||||||
- name: test
|
|
||||||
debug:
|
|
||||||
msg: "{{ slurp_etc_apt_sources_list_d.content|b64decode }}"
|
|
||||||
|
|
||||||
- name: "Verify file /etc/apt/sources.list.d/{{ ansible_distribution|lower }}"
|
- name: "Verify file /etc/apt/sources.list.d/{{ ansible_distribution|lower }}"
|
||||||
vars:
|
vars:
|
||||||
expected_source_list_content:
|
expected_source_list_content:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
- name: "Import prerequisites.yml"
|
- name: "Import prerequisites.yml"
|
||||||
ansible.builtin.include_tasks: prerequisites.yml
|
ansible.builtin.include_tasks: prerequisites.yml
|
||||||
|
|
||||||
- name: "Import main {{ ansible_distribution|lower }} repositories"
|
- name: "Import main repositories for {{ ansible_distribution|lower }}"
|
||||||
ansible.builtin.include_tasks: "main_repositories.yml"
|
ansible.builtin.include_tasks: "main_repositories.yml"
|
||||||
when: manage_repositories_enable_default_repo
|
when: manage_repositories_enable_default_repo
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
replace: "{{ sources_list_new_content }}"
|
replace: "{{ sources_list_new_content }}"
|
||||||
when: sources_list_current_content_str != sources_list_new_content
|
when: sources_list_current_content_str != sources_list_new_content
|
||||||
|
|
||||||
- name: "Configure {{ ansible_distribution|lower }} main repositories into sources.list"
|
- name: "Configure main repositories into sources.list.d for {{ ansible_distribution|lower }} "
|
||||||
ansible.builtin.deb822_repository:
|
ansible.builtin.deb822_repository:
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
types: "{{item.types}}"
|
types: "{{item.types}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user