This commit is contained in:
Louis Abel 2022-07-08 15:12:08 -07:00
commit ca0791fe81
Signed by: label
GPG Key ID: 6735C0E1BD65D048
16 changed files with 183 additions and 0 deletions

24
.github/ISSUE_TEMPLATE/bug-name.md vendored Normal file
View File

@ -0,0 +1,24 @@
---
name: "[BUG] NAME"
about: Create a bug report to help this hybrid thingy be bug free
title: ''
labels: bug
assignees: []
---
**Below, describe the bug**
Here.
**Console or Terminal Info (terminal output, strace, ldd, etc)**
If applicable, add terminal data here.
**Distribution Version + Archictecture**
- Distribution:
- Arch:
- Ansible Version:
**ansible configuration**
Provide ansible configuration (ansible.cfg) if applicable.
**ansible vars used**
Provide the ansible vars you used for the playbooks. If you created your own playbook, also provide that.

23
.github/ISSUE_TEMPLATE/rfe-name.md vendored Normal file
View File

@ -0,0 +1,23 @@
---
name: "[RFE] NAME"
about: Suggest an idea for this hybrid thingy
title: ''
labels: enhancement
assignees: []
---
**Preliminary questions**
- [ ] Is there already a PR open for this?
- [ ] Have you ensured that this feature is not already included?
**Is this RFE related to a problem or a bug? Describe and reference it below.**
Describe it here.
**What is your proposed idea or solution?**
Proposal.
**What are the benefits of this?**
**Additional context and information**
Add additional information here, if possible.

View File

@ -0,0 +1,16 @@
## Below, describe the bug
Here.
## Console or Terminal Info (terminal output, strace, ldd, etc)
If applicable, add terminal data here.
## Distribution Version + Archictecture
- Distribution:
- Arch:
- Ansible Version:
## ansible configuration
Provide ansible configuration (ansible.cfg) if applicable.
## ansible vars used
Provide the ansible vars you used for the playbooks. If you created your own playbook, also provide that.

View File

@ -0,0 +1,15 @@
## Preliminary questions
* [ ] Is there already a PR open for this?
* [ ] Have you ensured that this feature is not already included?
## Is this RFE related to a problem or a bug? Describe and reference it below.
Describe it here.
## What is your proposed idea or solution?
Proposal.
## What are the benefits of this?
## Additional context and information
Add additional information here, if possible.

18
LICENSE Normal file
View File

@ -0,0 +1,18 @@
Copyright 2021 Louis Abel
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

55
README.md Normal file
View File

@ -0,0 +1,55 @@
Hybrid Template
===============
Ultimately, this is meant to be run by itself on an ansible box or imported as a project into tower (being careful with your tower settings). Right now it is built to be ran on an ansible box that is not tower.
Playbooks will sit in the root.
Requirements
------------
List below the requirements for your hybrid structure below.
Dependencies
------------
No dependencies currently.
Playbook Structure
------------------
At a minimum, a pre task section should be added.
```
pre_tasks:
- name: Check if ansible cannot be run here
stat:
path: /etc/no-ansible
register: no_ansible
- name: Verify if we can run ansible
assert:
that:
- "not no_ansible.stat.exists"
success_msg: "We are able to run on this node"
fail_msg: "/etc/no-ansible exists - skipping run on this node"
# Import roles/tasks here
```
Post tasks are at the discretion of those who are working on this repo.
Vars
----
Var information here, which will be expected for your hybrid structure.
License
-------
MIT
Author Information
------------------
Louis Abel @nazunalika <tucklesepk@gmail.com>

22
ansible.cfg Normal file
View File

@ -0,0 +1,22 @@
[defaults]
force_color = 1
nocows = True
ansible_managed = Ansible Managed (Hybrid)
command_warnings = True
display_args_to_stdout = False
display_skipped_hosts = false
strategy = free
forks = 3
retry_files_enabled = False
gathering = smart
fact_caching = memory
fact_caching_timeout = 1800
no_log = False
log_path = tmp/ansible.log
known_hosts = tmp/known_hosts
roles_path = roles
collections_paths = collections
[ssh_connection]
# Disable GSSAPI, which slows down SSH connections for ansible
ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o GSSAPIAuthentication=no

View File

@ -0,0 +1 @@
Callback plugins go here

1
files/README.md Normal file
View File

@ -0,0 +1 @@
Files go here

1
filter_plugins/README.md Normal file
View File

@ -0,0 +1 @@
Filter plugins go here

View File

@ -0,0 +1 @@
Group vars here

View File

@ -0,0 +1 @@
Host vars here

1
library/README.md Normal file
View File

@ -0,0 +1 @@
Library

2
roles/README.md Normal file
View File

@ -0,0 +1,2 @@
Custom roles, as it applies to this, go here. Of course, they'll likely appear
if you are pulling them in in another way, based on `ansible.cfg`

1
tasks/README.md Normal file
View File

@ -0,0 +1 @@
Tasks come here, if they don't apply to a role or whatever.

1
templates/README.md Normal file
View File

@ -0,0 +1 @@
Templates go here