mirror of
https://git.fsfe.org/fsfe-system-hackers/innernet-playbook.git
synced 2024-11-22 06:33:11 +01:00
make sure sqlite3 is installed before the queries are run
This commit is contained in:
parent
2ee0dc77f1
commit
e9045532f4
@ -6,6 +6,11 @@
|
||||
- hosts: innernet_server
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: Install needed packages
|
||||
apt:
|
||||
package:
|
||||
- sqlite3
|
||||
|
||||
- name: Query innernet-server for CIDRs
|
||||
shell: 'sqlite3 /var/lib/innernet-server/{{ network_name }}.db "select name from cidrs;"'
|
||||
register: global_existing_cidrs
|
||||
|
Loading…
Reference in New Issue
Block a user