+ Fixing docs and adding some sane defaults/tests

This commit is contained in:
shockrah 2022-01-23 17:48:58 -08:00
parent 3b2b89db01
commit 1ede679730
4 changed files with 56 additions and 1 deletions

View File

@ -13,4 +13,6 @@ What I use on my own lab server
> Local DNS
>
> Git Tea for private Git service

View File

@ -0,0 +1,3 @@
---
# defaults file for setup
LAB_FQDN: leftcoast.local

View File

@ -0,0 +1,31 @@
galaxy_info:
author: shockrah
description: This role provides multiple tools for setting up a private lab server
company: Personal
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
license: GPL-3.0-only
min_ansible_version: 2.1
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
platforms:
- name: Debian
versions:
- Sid
galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies:
- community.docker

View File

@ -0,0 +1,19 @@
---
- hosts: leftcoastlab
tasks:
- name: Normal Echo
command: echo Quick test of an echo
register: normal_echo
- debug:
var: normal_echo.stdout
- name: Checking Sudo access
become: yes
command: echo One more test with sudo this time
register: sudo_echo
- debug:
var: sudo_echo.stdout
- debug:
var: sudo_echo.stderr