Skip to content

Commit f397a7d

Browse files
authored
Release/1.1.0
Renames collection name
1 parent be09c81 commit f397a7d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Build and install collection
4747
run: |
4848
ansible-galaxy collection build . --output-path .build --force
49-
ansible-galaxy collection install .build/ttafsir-ansible_sqlite_utils-*.tar.gz --force
49+
ansible-galaxy collection install .build/ttafsir-sqlite_utils-*.tar.gz --force
5050
5151
- name: Run tests
5252
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ansible Collection - ttafsir.ansible_sqlite_utils
1+
# Ansible Collection - ttafsir.sqlite_utils
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
44
[![CI](https://github.com/ttafsir/ansible-collection-sqlite-utils/actions/workflows/ci.yml/badge.svg)](https://github.com/ttafsir/ansible-collection-sqlite-utils/actions/workflows/ci.yml)
@@ -14,7 +14,7 @@ A collection of Ansible plugins to manage SQLite databases leveraging the `sqlit
1414
You can install the collection from Ansible Galaxy:
1515

1616
```bash
17-
ansible-galaxy collection install ttafsir.ansible_sqlite_utils
17+
ansible-galaxy collection install ttafsir.sqlite_utils
1818
```
1919

2020
### From Source
@@ -25,7 +25,7 @@ Clone the repository from GitHub:
2525
git clone https://github.com/ttafsir/ansible-sqlite-utils.git
2626
cd ansible-sqlite-utils
2727
ansible-galaxy collection build
28-
ansible-galaxy collection install ./ttafsir-ansible_sqlite_utils-*.tar.gz
28+
ansible-galaxy collection install ./ttafsir-sqlite_utils-*.tar.gz
2929
```
3030

3131
## License

galaxy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
namespace: ttafsir
3-
name: ansible_sqlite_utils
4-
version: "1.0.0"
3+
name: sqlite_utils
4+
version: "1.1.0"
55
readme: README.md
66

77
authors:

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('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database) }}"
35+
msg: "{{ lookup('ttafsir.sqlite_utils.sqlite', table='emails', db_path=database) }}"
3636

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

4141
- name: Fetch two columns from SQLite
4242
debug:
43-
msg: "{{ lookup('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database, select='email_id, subject') }}"
43+
msg: "{{ lookup('ttafsir.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-
'ttafsir.ansible_sqlite_utils.sqlite',
49+
'ttafsir.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('ttafsir.ansible_sqlite_utils.sqlite', table='emails', db_path=database) }}"
60+
loop: "{{ lookup('ttafsir.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)