From 873cf1446eb334b06dc51ef749b264761aeaf9b8 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 3 Sep 2022 01:10:03 +1200 Subject: [PATCH] host vars --- ansible/group_vars/all.yaml | 2 ++ ansible/host_vars/server.yaml | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 ansible/host_vars/server.yaml diff --git a/ansible/group_vars/all.yaml b/ansible/group_vars/all.yaml index 3080775..71a35d3 100644 --- a/ansible/group_vars/all.yaml +++ b/ansible/group_vars/all.yaml @@ -1,4 +1,6 @@ --- +# connection + ansible_connection: ssh ansible_become_method: sudo \ No newline at end of file diff --git a/ansible/host_vars/server.yaml b/ansible/host_vars/server.yaml new file mode 100644 index 0000000..6589c92 --- /dev/null +++ b/ansible/host_vars/server.yaml @@ -0,0 +1,7 @@ +--- + +# connection + +ansible_user: michael +ansible_become_user: michael +ansible_os_family: Arch \ No newline at end of file