From 23b4f2117b2330f839e79edc4d3bb9967933b9ec Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 22 Dec 2020 14:29:49 +0100 Subject: [PATCH] ansible: silence python interpreter warning on macOS --- ansible.cfg | 3 +++ inventory | 7 +++++-- local.yml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 ansible.cfg diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..866fbc4 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,3 @@ +[defaults] +interpreter_python = auto_silent + diff --git a/inventory b/inventory index ea0dc67..c3a73cd 100644 --- a/inventory +++ b/inventory @@ -1,2 +1,5 @@ -[dotfiles] -localhost ansible_connection=local +localhost + +[all:vars] +ansible_connection=local + diff --git a/local.yml b/local.yml index 77fd04e..1c19a3e 100644 --- a/local.yml +++ b/local.yml @@ -1,5 +1,5 @@ - name: Make myself at home :) - hosts: dotfiles + hosts: all vars_prompt: - name: git_user