From 32f0a519dba940c2267d4246b2fc9bc1c272ce05 Mon Sep 17 00:00:00 2001 From: Beth Date: Sun, 23 Mar 2025 06:46:19 -0500 Subject: [PATCH] initial commit --- README.md | 8 ++++---- defaults/main.yml | 2 +- handlers/main.yml | 2 +- tasks/main.yml | 6 +++++- tests/test.yml | 2 +- vars/main.yml | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4c2fe89..fa1a1ce 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ role-loadbalancer ========= -A brief description of the role goes here. +A loadbalancer Requirements ------------ -No requirements +certbot Role Variables -------------- @@ -23,8 +23,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:loadbalancer:v1.0:workload,loadbalancer +role:loadbalancer:testing:workload,loadbalancer License ------- diff --git a/defaults/main.yml b/defaults/main.yml index a0eb46b..902a28c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,3 +1,3 @@ #SPDX-License-Identifier: MIT-0 --- -# defaults file for ${REPO_NAME} +# defaults file for role-loadbalancer diff --git a/handlers/main.yml b/handlers/main.yml index 192bcab..e6b5570 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,3 +1,3 @@ #SPDX-License-Identifier: MIT-0 --- -# handlers file for ${REPO_NAME} +# handlers file for role-loadbalancer diff --git a/tasks/main.yml b/tasks/main.yml index 0482006..8e73fc8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,3 +1,7 @@ #SPDX-License-Identifier: MIT-0 --- -# tasks file for ${REPO_NAME} +# tasks file for role-loadbalancer +- name: install nginx + ansible.builtin.package: + name: nginx + state: present \ No newline at end of file diff --git a/tests/test.yml b/tests/test.yml index a1c8646..d484391 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -3,4 +3,4 @@ - hosts: localhost remote_user: root roles: - - ${REPO_NAME} + - role-loadbalancer diff --git a/vars/main.yml b/vars/main.yml index f31a73e..28ebe11 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ #SPDX-License-Identifier: MIT-0 --- -# vars file for ${REPO_NAME} +# vars file for role-loadbalancer