From 3cb92532c184689d16f4f5766b763064acc9aa46 Mon Sep 17 00:00:00 2001 From: "Glenn K. Lockwood" Date: Sat, 27 Oct 2018 17:35:35 -0700 Subject: [PATCH] convert to local config --- hosts | 4 +--- local.yml | 7 +++++++ site.yml | 4 ---- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 local.yml delete mode 100644 site.yml diff --git a/hosts b/hosts index 48e148f..533c237 100644 --- a/hosts +++ b/hosts @@ -1,3 +1 @@ -cloverfield ansible_host=192.168.1.153 -clovermine ansible_host=192.168.1.154 -clovermill ansible_host=192.168.1.149 +localhost ansible_connection=local diff --git a/local.yml b/local.yml new file mode 100644 index 0000000..a44eb5e --- /dev/null +++ b/local.yml @@ -0,0 +1,7 @@ +--- +- name: Raspberry Pi self configuration + hosts: localhost + user: root + connection: local + roles: + - common diff --git a/site.yml b/site.yml deleted file mode 100644 index 48485e3..0000000 --- a/site.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- hosts: all - roles: - - role: common