init
This commit is contained in:
commit
ca0791fe81
24
.github/ISSUE_TEMPLATE/bug-name.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/bug-name.md
vendored
Normal 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
23
.github/ISSUE_TEMPLATE/rfe-name.md
vendored
Normal 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.
|
||||
|
16
.gitlab/issue_templates/Bug.md
Normal file
16
.gitlab/issue_templates/Bug.md
Normal 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.
|
15
.gitlab/issue_templates/RFE.md
Normal file
15
.gitlab/issue_templates/RFE.md
Normal 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
18
LICENSE
Normal 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
55
README.md
Normal 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
22
ansible.cfg
Normal 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
|
1
callback_plugins/README.md
Normal file
1
callback_plugins/README.md
Normal file
@ -0,0 +1 @@
|
||||
Callback plugins go here
|
1
files/README.md
Normal file
1
files/README.md
Normal file
@ -0,0 +1 @@
|
||||
Files go here
|
1
filter_plugins/README.md
Normal file
1
filter_plugins/README.md
Normal file
@ -0,0 +1 @@
|
||||
Filter plugins go here
|
1
inventory/group_vars/README.md
Normal file
1
inventory/group_vars/README.md
Normal file
@ -0,0 +1 @@
|
||||
Group vars here
|
1
inventory/host_vars/README.md
Normal file
1
inventory/host_vars/README.md
Normal file
@ -0,0 +1 @@
|
||||
Host vars here
|
1
library/README.md
Normal file
1
library/README.md
Normal file
@ -0,0 +1 @@
|
||||
Library
|
2
roles/README.md
Normal file
2
roles/README.md
Normal 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
1
tasks/README.md
Normal file
@ -0,0 +1 @@
|
||||
Tasks come here, if they don't apply to a role or whatever.
|
1
templates/README.md
Normal file
1
templates/README.md
Normal file
@ -0,0 +1 @@
|
||||
Templates go here
|
Loading…
Reference in New Issue
Block a user