refactor: standardize YAML formatting and improve readability in Ansible tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 18s
Nix Format Check / check-format (push) Successful in 58s
Python Lint Check / check-python (push) Failing after 15s

This commit is contained in:
2025-03-24 18:31:46 +01:00
parent 243eb1688d
commit 79909cd3c5
3 changed files with 23 additions and 12 deletions

View File

@@ -11,14 +11,14 @@
ansible.builtin.file:
path: /etc/apt/keyrings
state: directory
mode: '0755'
mode: "0755"
become: true
- name: Import Mozilla APT repo signing key
ansible.builtin.get_url:
url: https://packages.mozilla.org/apt/repo-signing-key.gpg
dest: /etc/apt/keyrings/packages.mozilla.org.asc
mode: '0644'
mode: "0644"
become: true
- name: Add Mozilla APT repository
@@ -26,6 +26,7 @@
path: /etc/apt/sources.list.d/mozilla.list
line: "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main"
create: true
mode: "0644"
become: true
- name: Set Firefox package priority
@@ -39,7 +40,7 @@
Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1
mode: '0644'
mode: "0644"
become: true
- name: Update apt cache