- Added 'become_password_file' to 'ansible.cfg' for privilege escalation handling.
- Removed separate installation tasks for 'atuin', 'eurkey', 'ghostty', 'git-delta', 'ripgrep', 'starship', 'veracrypt', and 'pacstall', consolidating them into 'curl.yml' and 'git_deb.yml'.
- Introduced 'git_deb.yml' for handling GitHub '.deb' installations dynamically using 'github_deb' variable.
- Improved error handling and pipe safety in curl-based installations ('set -o pipefail').
- Set proper permissions ('mode: 0600') for downloaded files in 'remove_ubuntu_banner.yml' and 'fira_code_fonts.yml'.
- Refactored 'github_releases.yml' to allow optional 'v' prefix handling in 'tag_name'.
- Updated 'main.yml' to remove redundant installations and streamline execution.
- Defined 'github_deb' list in 'vars/main.yml' to manage '.deb' package downloads dynamically.
These changes enhance maintainability, reduce redundancy, and improve package installation flexibility.
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
40 lines
1.8 KiB
INI
40 lines
1.8 KiB
INI
[defaults]
|
|
# (pathspec) Colon separated paths in which Ansible will search for Roles.
|
|
roles_path=./roles
|
|
|
|
# (pathlist) Comma separated list of Ansible inventory sources
|
|
inventory=./inventory/production
|
|
|
|
# (path) The vault password file to use. Equivalent to --vault-password-file or --vault-id
|
|
# If executable, it will be run and the resulting stdout will be used as the password.
|
|
vault_password_file=/media/veracrypt1/scripts/ansible_vault.sh
|
|
|
|
# (path) The password file to use for the become plugin. --become-password-file.
|
|
# If executable, it will be run and the resulting stdout will be used as the password.
|
|
become_password_file=/media/veracrypt1/scripts/ansible_become.sh
|
|
|
|
# (list) Check all of these extensions when looking for 'variable' files which should be YAML or JSON or vaulted versions of these.
|
|
# This affects vars_files, include_vars, inventory and vars plugins among others.
|
|
yaml_valid_extensions=.yml
|
|
|
|
# (boolean) Set this to "False" if you want to avoid host key checking by the underlying tools Ansible uses to connect to the host
|
|
host_key_checking=False
|
|
|
|
# (bool) This controls whether a failed Ansible playbook should create a .retry file.
|
|
;retry_files_enabled=False
|
|
|
|
# (path) This sets the path in which Ansible will save .retry files when a playbook fails and retry files are enabled.
|
|
# This file will be overwritten after each run with the list of failed hosts from all plays.
|
|
;retry_files_save_path=
|
|
|
|
# (list) Allows to change the group variable precedence merge order.
|
|
;precedence=all_inventory, groups_inventory, all_plugins_inventory, all_plugins_play, groups_plugins_inventory, groups_plugins_play
|
|
|
|
[colors]
|
|
# (string) Defines the color to use when showing 'Skipped' task status
|
|
skip=dark gray
|
|
|
|
[tags]
|
|
# (list) default list of tags to skip in your plays, has precedence over Run Tags
|
|
;skip=
|