From c6983afd1f7ec1b52de9341e4843c5d8b008cd40 Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Thu, 16 Jan 2025 18:41:30 +0100 Subject: [PATCH] Set default Ansible options in config --- .local/share/dotfiles/ansible.cfg | 5 +++++ README.md | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .local/share/dotfiles/ansible.cfg diff --git a/.local/share/dotfiles/ansible.cfg b/.local/share/dotfiles/ansible.cfg new file mode 100644 index 0000000..34b2e38 --- /dev/null +++ b/.local/share/dotfiles/ansible.cfg @@ -0,0 +1,5 @@ +[defaults] +inventory = inventory.ini + +[privilege_escalation] +become_ask_pass = True diff --git a/README.md b/README.md index 2c014cb..c1aeab2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,5 @@ $ alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' $ dotfiles checkout $ dotfiles config --local status.showUntrackedFiles no $ cd .local/share/dotfiles -$ uv run ansible-playbook -i inventory.ini --ask-become-pass install_dev_tools.yml +$ uv run ansible-playbook install_dev_tools.yml ``` -