Added readarr configuration #1
6 changed files with 21 additions and 9 deletions
|
@ -1,12 +1,13 @@
|
|||
role-readarr
|
||||
=========
|
||||
|
||||
A brief description of the role goes here.
|
||||
This role adds a readarr server and deploys existing configuration
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
No requirements
|
||||
certbot
|
||||
nginx-ssl
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
@ -23,8 +24,8 @@ Example Playbook Template
|
|||
|
||||
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template with other core entries:
|
||||
|
||||
role:mount:v1.0:core,mount
|
||||
role:mount:testing:core,mount
|
||||
role:readarr:v1.0:workload,readarr
|
||||
role:readarr:testing:workload,readarr
|
||||
|
||||
License
|
||||
-------
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for ${REPO_NAME}
|
||||
# defaults file for role-readarr
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for ${REPO_NAME}
|
||||
# handlers file for role-readarr
|
||||
|
|
|
@ -1,3 +1,14 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for ${REPO_NAME}
|
||||
# tasks file for role-readarr
|
||||
- name: install readarr
|
||||
ansible.builtin.package:
|
||||
name: readarr
|
||||
state: present
|
||||
|
||||
|
||||
- name: ensure readarr is running
|
||||
service:
|
||||
name: readarr
|
||||
state: started
|
||||
enabled: yes
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- ${REPO_NAME}
|
||||
- role-readarr
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for ${REPO_NAME}
|
||||
# vars file for role-readarr
|
||||
|
|
Loading…
Add table
Reference in a new issue