Set default Ansible options in config

This commit is contained in:
Ivan Golikov 2025-01-16 18:41:30 +01:00
parent ed46298833
commit c6983afd1f
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
[defaults]
inventory = inventory.ini
[privilege_escalation]
become_ask_pass = True

View file

@ -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
```