forked from bitlair/ansible
bar: Fix playbook host
This commit is contained in:
parent
3791223643
commit
1e9334ecfb
3 changed files with 16 additions and 1 deletions
2
bar.yaml
2
bar.yaml
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- hosts: bar
|
||||
- hosts: bank-pi.bitlair.nl
|
||||
vars:
|
||||
raspi_rotate_display: "2"
|
||||
roles:
|
||||
|
|
12
roles/bank/tasks/inflatinator.yaml
Normal file
12
roles/bank/tasks/inflatinator.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name: [ links, python3-pyquery ]
|
||||
state: present
|
||||
|
||||
- name: Clone revbank-inflatinator source
|
||||
git:
|
||||
repo: https://github.com/bitlair/revbank-inflatinator.git
|
||||
version: main
|
||||
dest: /opt/revbank-inflatinator
|
||||
accept_hostkey: yes
|
|
@ -4,3 +4,6 @@
|
|||
|
||||
- tags: [ bank, bank_revbank ]
|
||||
import_tasks: revbank.yaml
|
||||
|
||||
- tags: [ bank, bank_inflatinator ]
|
||||
import_tasks: inflatinator.yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue