From 53b7815d27d52db9d5aaaad4661d49044ec38bba Mon Sep 17 00:00:00 2001 From: Maximilian Deubel Date: Sun, 13 Feb 2022 00:10:01 +0100 Subject: [PATCH] Add BLE-Keykeeper to platon --- inventory | 3 +++ main.yml | 3 +++ platon.yml | 9 +++++++++ requirements.yml | 2 ++ 4 files changed, 17 insertions(+) create mode 100644 platon.yml diff --git a/inventory b/inventory index fa4f6bb..64feb95 100644 --- a/inventory +++ b/inventory @@ -78,3 +78,6 @@ all: 34613761363237633865306332653631323366343232353666343165666664343838 unicorn.n39.eu: server_admin: "admin+unicorn@netz39.de" + platon.n39.eu: + server_admin: "admin+platon@netz39.de" + ansible_ssh_user: pi \ No newline at end of file diff --git a/main.yml b/main.yml index c725c75..97e6da4 100644 --- a/main.yml +++ b/main.yml @@ -42,3 +42,6 @@ - name: Specific setup for host unicorn import_playbook: unicorn.yml + +- name: Platon specific setup + import_playbook: platon.yml \ No newline at end of file diff --git a/platon.yml b/platon.yml new file mode 100644 index 0000000..c066509 --- /dev/null +++ b/platon.yml @@ -0,0 +1,9 @@ +--- +- hosts: platon.n39.eu + become: true + vars: + ansible_python_interpreter: /usr/bin/python3 + door_open_command: '/home/pi/netz39_rollladensteuerung/raspberry/doorcontrol/door-open.sh' + ble_keykeeper_dir: '/home/pi/netz39_ble_keykeeper' + roles: + - role: ble-keykeeper-role \ No newline at end of file diff --git a/requirements.yml b/requirements.yml index a608f7f..ba18381 100644 --- a/requirements.yml +++ b/requirements.yml @@ -5,3 +5,5 @@ version: 3.0.0 - src: git+https://github.com/24367dfa/ansible-role-dehydrated.git version: 1.0.2 +- src: git+https://github.com/maz3max/ble-keykeeper-role.git + version: v1.0.0 \ No newline at end of file