Skip to content

Commit be09c81

Browse files
authored
Release/1.0.0
1 parent 014ee22 commit be09c81

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ jobs:
4545

4646
- name: Build and install collection
4747
run: |
48-
rm -rf ansible_collections/ttafsir/ansible_sqlite_utils
49-
rm -rf .build/*
5048
ansible-galaxy collection build . --output-path .build --force
51-
ansible-galaxy collection install .build/ttafsir-ansible_sqlite_utils-*.tar.gz --force -p ansible_collections
49+
ansible-galaxy collection install .build/ttafsir-ansible_sqlite_utils-*.tar.gz --force
5250
5351
- name: Run tests
5452
run: |

tests/ansible.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[defaults]
2-
lookup_plugins = ../plugins/lookup
32
callbacks_enabled = ansible.posix.profile_tasks

tests/test_lookup.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@
3232
# Rest of your playbook tasks...
3333
- name: Fetch all rows from SQLite
3434
debug:
35-
msg: "{{ lookup('sqlite', table='emails', db_path=database) }}"
35+
msg: "{{ lookup('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database) }}"
3636

3737
- name: Fetch single column from SQLite
3838
debug:
39-
msg: "{{ lookup('sqlite', table='emails', db_path=database, select='email_id') }}"
39+
msg: "{{ lookup('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database, select='email_id') }}"
4040

4141
- name: Fetch two columns from SQLite
4242
debug:
43-
msg: "{{ lookup('sqlite', table='emails', db_path=database, select='email_id, subject') }}"
43+
msg: "{{ lookup('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database, select='email_id, subject') }}"
4444

4545
- name: Fetch single row from SQLite
4646
debug:
4747
msg: "{{
4848
lookup(
49-
'sqlite',
49+
'ttafsir.ansible_sqlite_utils.sqlite',
5050
table='emails',
5151
db_path=database,
5252
where='subject = :subject',
@@ -57,7 +57,7 @@
5757
- name: Loop through all rows
5858
debug:
5959
msg: "{{ item.subject }}"
60-
loop: "{{ lookup('sqlite', table='emails', db_path=database) }}"
60+
loop: "{{ lookup('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database) }}"
6161

6262
# Cleanup: Remove the JSON files
6363
- name: Cleanup JSON files

0 commit comments

Comments
 (0)