diff --git a/README.md b/README.md index b887a1e5..f460aa88 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ This segment caters to professional productivity needs. It encompasses a range o - **[PC Video Conference](./roles/pc-video-conference/)**: Video conferencing software setup. - **[PC Nextcloud](./roles/pc-nextcloud/)**: Client setup for Nextcloud cloud storage service. - **[PC GnuCash](./roles/pc-gnucash/)**: Software to manage finances +- **[PC Jrnl](./roles/pc-jrnl/)**: Software to manage finances #### Anonymization Focusing on privacy and security, the Anonymization section offers tools for secure file sharing and anonymous web browsing. It includes software solutions that prioritize user privacy, ensuring secure online activities and data protection. diff --git a/playbook-pcs.yml b/playbook-pcs.yml index 32995ea7..cfe09714 100644 --- a/playbook-pcs.yml +++ b/playbook-pcs.yml @@ -15,6 +15,7 @@ become: true roles: - pc-office + - pc-jrnl - name: personal computer for business hosts: business_personal_computer diff --git a/roles/pc-jrnl/README.md b/roles/pc-jrnl/README.md new file mode 100644 index 00000000..6c9bca8d --- /dev/null +++ b/roles/pc-jrnl/README.md @@ -0,0 +1,33 @@ +# Jrnl Role for Ansible + +## Overview +This role automates the installation of Jrnl, a simple and effective command-line journal application. It uses the `community.general.pacman` module for systems that support the Pacman package manager, ensuring that Jrnl is installed and up to date. + +## Requirements +- Ansible 2.9 or higher. +- Access to Pacman package manager (commonly available on Arch Linux and derivatives). + +## Role Variables +No additional role variables are needed for this role as it solely focuses on the installation of Jrnl. + +## Dependencies +No external dependencies. + +## Example Playbook +Including this role in your playbook is straightforward. Simply add the role to your playbook's roles section: + +```yaml +- hosts: all + roles: + - pc-jrnl +``` + +## Additional Information +For more detailed information on Jrnl and its functionalities, visit [Jrnl's official documentation](https://jrnl.sh/). + +## Contributing +Contributions to this role are welcome. Please adhere to standard coding conventions and best practices. + +## More Information + +This role was created as part of a larger playbook. For more context on this role, you can refer to the related ChatGPT conversation [here](https://chat.openai.com/share/ae168ca0-5191-4bec-96a0-ffcfabca0024). \ No newline at end of file diff --git a/roles/pc-jrnl/tasks/main.yml b/roles/pc-jrnl/tasks/main.yml new file mode 100644 index 00000000..eaf37d39 --- /dev/null +++ b/roles/pc-jrnl/tasks/main.yml @@ -0,0 +1,5 @@ +- name: install jrnl + community.general.pacman: + name: + - jrnl + state: present \ No newline at end of file