Update roles, change names.
This commit is contained in:
parent
b1013f95c8
commit
e07765f3ce
|
|
@ -1 +1 @@
|
|||
Vagrantfile.virtualbox
|
||||
Vagrantfile.libvirt
|
||||
|
|
@ -3,3 +3,4 @@ retry_files_enabled=no
|
|||
inventory=inventory
|
||||
stdout_callback=yaml
|
||||
host_key_checking=no
|
||||
roles_path=roles
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
namespace: "robertdebock"
|
||||
name: "development_environment"
|
||||
description: Install everything you need to develop Ansible roles.
|
||||
version: "1.4.21"
|
||||
version: "2.0.0"
|
||||
readme: "README.md"
|
||||
authors:
|
||||
- "Robert de Bock"
|
||||
|
|
|
|||
|
|
@ -1,52 +1,129 @@
|
|||
#!/usr/bin/env python
|
||||
# Adapted from Mark Mandel's implementation
|
||||
# https://github.com/ansible/ansible/blob/devel/plugins/inventory/vagrant.py
|
||||
import argparse
|
||||
import json
|
||||
import paramiko
|
||||
import subprocess
|
||||
"""
|
||||
Vagrant external inventory script. Automatically finds the IP of the booted vagrant vm(s), and
|
||||
returns it under the host group 'vagrant'
|
||||
Example Vagrant configuration using this script:
|
||||
config.vm.provision :ansible do |ansible|
|
||||
ansible.playbook = "./provision/your_playbook.yml"
|
||||
ansible.inventory_path = "./provision/inventory/vagrant.py"
|
||||
ansible.verbose = true
|
||||
end
|
||||
"""
|
||||
|
||||
# Copyright (C) 2013 Mark Mandel <mark@compoundtheory.com>
|
||||
# 2015 Igor Khomyakov <homyakov@gmail.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#
|
||||
# Thanks to the spacewalk.py inventory script for giving me the basic structure
|
||||
# of this.
|
||||
#
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
import subprocess
|
||||
import re
|
||||
from paramiko import SSHConfig
|
||||
from optparse import OptionParser
|
||||
from collections import defaultdict
|
||||
import json
|
||||
|
||||
from ansible.module_utils._text import to_text
|
||||
from ansible.module_utils.six.moves import StringIO
|
||||
|
||||
|
||||
def parse_args():
|
||||
parser = argparse.ArgumentParser(description="Vagrant inventory script")
|
||||
group = parser.add_mutually_exclusive_group(required=True)
|
||||
group.add_argument('--list', action='store_true')
|
||||
group.add_argument('--host')
|
||||
return parser.parse_args()
|
||||
_group = 'vagrant' # a default group
|
||||
_ssh_to_ansible = [('user', 'ansible_user'),
|
||||
('hostname', 'ansible_host'),
|
||||
('identityfile', 'ansible_ssh_private_key_file'),
|
||||
('port', 'ansible_port')]
|
||||
|
||||
# Options
|
||||
# ------------------------------
|
||||
|
||||
parser = OptionParser(usage="%prog [options] --list | --host <machine>")
|
||||
parser.add_option('--list', default=False, dest="list", action="store_true",
|
||||
help="Produce a JSON consumable grouping of Vagrant servers for Ansible")
|
||||
parser.add_option('--host', default=None, dest="host",
|
||||
help="Generate additional host specific details for given host for Ansible")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
#
|
||||
# helper functions
|
||||
#
|
||||
|
||||
|
||||
def list_running_hosts():
|
||||
cmd = "vagrant status --machine-readable"
|
||||
status = subprocess.check_output(cmd.split()).rstrip()
|
||||
hosts = []
|
||||
for line in status.split('\n'):
|
||||
(_, host, key, value) = line.split(',',3)
|
||||
if key == 'state' and value == 'running':
|
||||
hosts.append(host)
|
||||
return hosts
|
||||
# get all the ssh configs for all boxes in an array of dictionaries.
|
||||
def get_ssh_config():
|
||||
return dict((k, get_a_ssh_config(k)) for k in list_running_boxes())
|
||||
|
||||
|
||||
def get_host_details(host):
|
||||
cmd = "vagrant ssh-config {}".format(host)
|
||||
p = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE)
|
||||
config = paramiko.SSHConfig()
|
||||
config.parse(p.stdout)
|
||||
c = config.lookup(host)
|
||||
return {'ansible_ssh_host': c['hostname'],
|
||||
'ansible_ssh_port': c['port'],
|
||||
'ansible_ssh_user': c['user'],
|
||||
'ansible_ssh_private_key_file': c['identityfile'][0]}
|
||||
# list all the running boxes
|
||||
def list_running_boxes():
|
||||
|
||||
output = to_text(subprocess.check_output(["vagrant", "status"]), errors='surrogate_or_strict').split('\n')
|
||||
|
||||
boxes = []
|
||||
|
||||
for line in output:
|
||||
matcher = re.search(r"([^\s]+)[\s]+running \(.+", line)
|
||||
if matcher:
|
||||
boxes.append(matcher.group(1))
|
||||
|
||||
return boxes
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
if args.list:
|
||||
hosts = list_running_hosts()
|
||||
json.dump({'vagrant': hosts}, sys.stdout)
|
||||
else:
|
||||
details = get_host_details(args.host)
|
||||
json.dump(details, sys.stdout)
|
||||
# get the ssh config for a single box
|
||||
def get_a_ssh_config(box_name):
|
||||
"""Gives back a map of all the machine's ssh configurations"""
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
output = to_text(subprocess.check_output(["vagrant", "ssh-config", box_name]), errors='surrogate_or_strict')
|
||||
config = SSHConfig()
|
||||
config.parse(StringIO(output))
|
||||
host_config = config.lookup(box_name)
|
||||
|
||||
# man 5 ssh_config:
|
||||
# > It is possible to have multiple identity files ...
|
||||
# > all these identities will be tried in sequence.
|
||||
for id in host_config['identityfile']:
|
||||
if os.path.isfile(id):
|
||||
host_config['identityfile'] = id
|
||||
|
||||
return dict((v, host_config[k]) for k, v in _ssh_to_ansible)
|
||||
|
||||
|
||||
# List out servers that vagrant has running
|
||||
# ------------------------------
|
||||
if options.list:
|
||||
ssh_config = get_ssh_config()
|
||||
meta = defaultdict(dict)
|
||||
|
||||
for host in ssh_config:
|
||||
meta['hostvars'][host] = ssh_config[host]
|
||||
|
||||
print(json.dumps({_group: list(ssh_config.keys()), '_meta': meta}))
|
||||
sys.exit(0)
|
||||
|
||||
# Get out the host details
|
||||
# ------------------------------
|
||||
elif options.host:
|
||||
print(json.dumps(get_a_ssh_config(options.host)))
|
||||
sys.exit(0)
|
||||
|
||||
# Print out help
|
||||
# ------------------------------
|
||||
else:
|
||||
parser.print_help()
|
||||
sys.exit(0)
|
||||
|
|
|
|||
40
playbook.yml
40
playbook.yml
|
|
@ -6,23 +6,23 @@
|
|||
gather_facts: no
|
||||
|
||||
roles:
|
||||
- robertdebock.development_environment.bootstrap
|
||||
- robertdebock.development_environment.update
|
||||
- robertdebock.development_environment.fail2ban
|
||||
- robertdebock.development_environment.common
|
||||
- robertdebock.development_environment.buildtools
|
||||
- robertdebock.development_environment.epel
|
||||
- robertdebock.development_environment.python_pip
|
||||
- robertdebock.development_environment.docker
|
||||
- robertdebock.development_environment.users
|
||||
- robertdebock.development_environment.postfix
|
||||
- robertdebock.development_environment.vagrant
|
||||
- robertdebock.development_environment.investigate
|
||||
- robertdebock.development_environment.ansible
|
||||
- robertdebock.development_environment.ansible_lint
|
||||
- robertdebock.development_environment.molecule
|
||||
- robertdebock.development_environment.ara
|
||||
- robertdebock.development_environment.ruby
|
||||
- robertdebock.development_environment.travis
|
||||
- robertdebock.development_environment.git
|
||||
- robertdebock.development_environment.atom
|
||||
- robertdebock.bootstrap
|
||||
- robertdebock.update
|
||||
- robertdebock.fail2ban
|
||||
- robertdebock.common
|
||||
- robertdebock.buildtools
|
||||
- robertdebock.epel
|
||||
- robertdebock.python_pip
|
||||
- robertdebock.docker
|
||||
- robertdebock.users
|
||||
- robertdebock.postfix
|
||||
- robertdebock.vagrant
|
||||
- robertdebock.investigate
|
||||
- robertdebock.ansible
|
||||
- robertdebock.ansible_lint
|
||||
- robertdebock.molecule
|
||||
- robertdebock.ara
|
||||
- robertdebock.ruby
|
||||
- robertdebock.travis
|
||||
- robertdebock.git
|
||||
- robertdebock.atom
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "DIjA6Mnh2fpuFs+CYMtn1DX0o1DWqiz5Jz4v39fjeF+CJsG0vMFpmHunRwqftVnGUpsJKrjH9zxZXL5EkAtMif4ROC885h+uc0YgWoNl1cnlZUfljD3+34+EjutW6W/wcijxqy7v0LqracBScDSErUzBnZO6fBUFdf/6KIsyWxOrKTEH4cjt5SocEDUYUy3CQZDIU4pXdfoliWPnb0MDjiRN2NV4paB5R2CQ0NawlUV8gwrA5hKOUGD6ca0LNOF/tnkOcF8qJKox4AyYMXvAJdieFO/aWQG5tZg2y5+yDXqQPyjuTTX7XiqNUpdyeP0mwR27eAO/R7LBiRMqiYPFkT2ttSN4ufKWToGX51lAZXZWmKfy8lKcFxszVwthJj4PQvjLcY/xbk9Ze1o+yz/1H4eBdmXEVD+H9SX3j2wToerbhktHcv+Uf62xrug8UglxQsSJFHRWaSkiC6ZWw5Awce+9LxHi8VK9ubnFKD7wK5iY+Gved4A7HvwSUQJQfCeNnyvmsLwacnr1DGTUzm0/LkbtkAQMh4h5ouDN5b1vwalcADHFZmmqtDeocZQL6m8E42Fvkpkllfo0tJV67aN3Of6fq/e/I5Ac+dOqJ0MQkclnGG4+HvSa12MAoTKhrgFIBkpJI/083i6eoRsmIT2gtHwGzclVNKJmRERcrVLLa1s="
|
||||
email: false
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:21 2019
|
||||
version: 2.1.1
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "XWAAQ/YpN5s6xZknnRZKnkcUy5GkbI6nxGjZYOH+ZmYUEg+EnWzliwYmZ4zOzOtmQUTx7X6UMHfxb4Z7uyPA0z/mjVnIRCoqv6QAmbTHJBztzjyJy3HpDvX7IYO6Lrr+T0RHQ5uGarpXsUxCrCD+fKf1WfyVy/XJ8Uw1gPY7fEpjB+xRtxwYukRmZFxjcUnbBwguVSveoUBhyn6vr+cW4rovtB5s443H5UXQeprSY0Pu28G77rnc2opk1CLP0P/gwetPjnFaZRwYY0L0VNER877sloZ8IcY47ThdBNVpkkMbpJgkSQW7brSIjefP1S9kx00b6XqwV/8zh/DSi2j8mq8CU2g2qLm8M5F/ik1d/sc23wxCnj+GWeBoAlPcpgCYM8nYp8oS09H32TQFG7iENu3nG+9YsoNKdUSPQvfqYkXtO7Sbtvjgiv0rhhZJLsvqnrh2Dq/6Y2K1jmDcZuQfFDgdCTW85zLDle78zFyiIjLc41QX4Rqo9ELJNR5KQ60pQIoIb/JxRvEERvzOBJl+atAa4CvI+UdU/xUFEokWXLwGi+Ze+cu7Qfskg6ISCzGAZ/D1aJ0R8wHjwY/BdiM0oSadlGl13yU1jVSWoHwpnmpBZIuGnPrCGPf3VLzRGPdkAej+RCdt4DKCNUb8BZ67f4nP3gwAEBYbOle58O4tA2c="
|
||||
email: false
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# defaults file for ansible_lint
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:26 2019
|
||||
version: 2.2.2
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "KNGb6nUiIFk86AMSfRdnFFWcKh4whVEcvS3ycBdhEBhbG4/4d8TBNFILjLpvTrr5d2Vmhj4JM2dRTwfkEj+ChC9cCknSVwkwZqbOx+H1NmiYgTWHn8Ar89NOh/GnaV3aU1AcK36L+7M9pcoTaLtl0BRWwrR4BUCIUFqgOf7vEtKWew+b1zmaGG3hygrGYFMKFJa4GfsGiSYnkn8TFG2muacgzlActQzML1xHrE/kR4hWK7dMZCLdPDgzXyRDwMZwkQQxPwKe0rCLYY7izzRoFchziyyvtwCrZ2F5sN4HsNploCwBRPCw3o6ZdhybPlmEls/PE+UhshV7NZb8t5/oX2bTHnHABEyRs6dLJotxgYCkkU4brlq2btWiYVP5FdCHYF/PraQbb5yNl+fKGSPimGj++B3MgIGLaq0ZskO3RC+RiqNnO5V6/SLjr4zk4JqPtPl7CEX3o77VcxQQEm91Xk7++yNCng8ShAK2IrBWxezQc4ZwyyvntNYi+ODqJaJDMCE+RQAaw1iBvGgaAX2P798LPJRew9D64xByC7FUKTe9TSOoYG635/iKWVDLneLd3CdvaKwkBSx2A/6eO6HGjSqi7PHhY1Y3Jru+oTVB3NNopHHLNNo2Qv1us76meP6LoxaoCvkt7/YmFkCYxvkCWey5q6vq0Kd0IhC3uGYFSkA="
|
||||
email: false
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:30 2019
|
||||
version: 2.3.2
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
- name: Prepare
|
||||
hosts: all
|
||||
become: yes
|
||||
gather_facts: no
|
||||
|
||||
roles:
|
||||
- robertdebock.bootstrap
|
||||
- robertdebock.buildtools
|
||||
- robertdebock.epel
|
||||
- robertdebock.python_pip
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "m6jjS1/GZUUlovX2COeIGwVpS4iDfqAfX40onVjhCebOe5lMd259HTGk96QXPnh31VaonIfRfCgOjomcVKVBxZ1ELDKE/arwaflL6qc0zWHHH3cNzJjbTbouuSNGMrXA6y6Xlx6hBFb88PkpbiU07yO905RR2e5Jb8xse+zfzgFw451rfWLvbPXdskmC7YKzJ2T5heSG+eJE9EMOt4ZVj7wjWolNyGnW+QJetdZJTdokFRxgxSxPq8A0cLUBmC7nHEigycPimcDArikAU5wARs27Irp0bDjG+lDxcWj/0PEuDJjnpEc8j4pgSuMgLtmKMp+J75oC4FMcoOcYKL2FbDcY9fAbrfA/rK7kQq47QdtUjo6oP9BulP1Kl7/CRKXcM33QV5r5Yv80kDx+aOHVgf2ZqoKmtQovcS34VR94e8WwwRJloP0rz+8zoXci7tKOMeea5uvKws0zMRwjTlfRHrtOWT6yU0gL8o9dYLyyA1HhaV3kApuiBMH2FioMUteYzKCVWW3YO3PJO4CCJrltHaMPpRTCGY5bDn7Py3qqO41WTWJ6mzbZjLxNhHh/0R6xaV4BQH6qjkMH6WyS7ctaRBtGdkLW9nNmEJx2MLz3IYCAlY5Cs0BS1eKVoq6FVl0qwbhl24kiUekVTYSA6qti/VfoOyGKGGAqCBEyq/aKfSo="
|
||||
email: false
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# defaults file for atom
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:34 2019
|
||||
version: 2.2.2
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
exceptions:
|
||||
- variation: amazonlinux:1
|
||||
reason: "Package: atom ... Requires: libsecret-1.so.0 ... and ... polkit"
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
# vars file for atom
|
||||
_atom_requirements:
|
||||
apt:
|
||||
- apt-transport-https
|
||||
|
||||
atom_requirements: "{{ _atom_requirements[ansible_pkg_mgr] | default(omit) }}"
|
||||
|
||||
atom_packages: "{{ _atom_packages[ansible_distribution ~ '-' ~ ansible_distribution_major_version] | default(_atom_packages[ansible_distribution] | default(_atom_packages['default'])) }}"
|
||||
|
||||
_atom_package:
|
||||
apt:
|
||||
url: 'https://atom.io/download/deb'
|
||||
name: atom-amd64.deb
|
||||
dnf:
|
||||
url: 'https://atom.io/download/rpm'
|
||||
name: atom.x86_64.rpm
|
||||
yum:
|
||||
url: 'https://atom.io/download/rpm'
|
||||
name: atom.x86_64.rpm
|
||||
zypper:
|
||||
url: 'https://atom.io/download/rpm'
|
||||
name: atom.x86_64.rpm
|
||||
|
||||
atom_package_url: '{{ _atom_package[ansible_pkg_mgr]["url"] }}'
|
||||
atom_package: "{{ _atom_package[ansible_pkg_mgr]['name'] }}"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="oraclelinux" tag="7"
|
||||
- image="centos"
|
||||
- image="oraclelinux"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "aulwiTA7Pd7ckRc4A99/ldtgA3ke8+xC2LOTNA0REpgkUOp19IDYZvwZBGWoBTR4dGsh4P7/Z3V/9vpi7d/b8zDDF4pF+xayo7xSFtqJviawJuRIC7OTCzAKQrTvQccNA1sLPWWH49hWjjQCwVd7VnhhXZOFFJwtx7KT7S+xABInFQIRyuEEJocDrTzlF8xG63P3iFkv3YE90QSsi7gxAB6dnSiOOESwAnnhWEuvAEsLsEkHCANEoA90O477/jqH6eCBGGyA4ItO7dRwdhn8iSEbqakQ6WWD5bMUjnydQ/5CsyolJeV6ejr1z3CaPWMDA1nM+gCBuIPlkTV2E+uWWzYIGEcUt/oXY/P8d4AzfSbIECE0VQptOBVnxvDTY++39MPMDVtWW9j82ZyAylswQrx7eNqnhLMOF0MhTAJxiOeLAnPJe179j47dVDJRGWVzlBSqg0XIk8tVsVNrF7+hkkxYkP8pe3+yQYIW03j+JZyPR9uzkJnNhMSnoTC3ey7wd9aJD+9wgEeXkmvtIPCd6QIR35irRSKVHTyU5yArHzQDRCK5IwRqkfWG3fH1s92ApCzDn6AzbYCpdgf8f1diFHyNSmmO0eePRvo89skoRnUv3LhUre8HJbx2946AamrIeYYKi77uTcrLG9AekP/oiT31y6U/GcWXJnlaSyKhXFU="
|
||||
email: false
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
# NOTE(retr0h): Templates no longer fail this lint rule.
|
||||
# Uncomment if running old Molecule templates.
|
||||
truthy: disable
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:42 2019
|
||||
version: 4.0.2
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="centos"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "iTJzjXzcFBfoTgvxgyhUtMSQhYJlDxTHdjoEx3MBqStvdMoBTTrnhZWy9jL6vMzXscMKWQboWZerMiES4sDuRykmRKuoz7ymXGKtrYuTecmTdYmWMhV8nj9PcDlO27HSIfPwHuUkRW14tBv2RWxTkp2fgWNGSsoNngtydgw2JHX4mWrOEZoDTFWnauj+D256NpEA31ej0ZptbmYN3ZExb1A+q0p02aRpvrbPt+zvVlZG8iFbrVBCwHkl+TnGoHFl3vG4C3P5VDHxWvPKuQ+F+et7c0kVPrCo3fEz+grqGv/BKNg8uJ0IAdFtq7M5AXlM5G+yT3ERYuuGkExQOu9ZnILh8oMdEn2XXeMzb7OoA7g0ayNm2m3JEsAsYM64/kcXwZgfJo22dQ9NDFhfS5Tdddri8nrldQAC/LGOntr+Z20W/dzEDiBC14845Gif9SS1N0dA1M2dUjVLTLGO5vZwyLdpcTzSVAbZZ+L0mgBs3kuyJYmolPianQJimnKJ8dI5SbQ+UwKTagDpoC8XY4PWhXtqVk+/PAMqzPpZPHyooAwRiqCoyHVaHWu4IKgy/x2BW9QJez5X9gvXIbrJlipWheBHkUDABaRTED5vdjqlXgZq9+kG1MQ8r3MMaYvQIWip/05T0w9ZgcgUhwt/qljHa4YR53Jo7JIdODST60lWyXM="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# defaults file for buildtools
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:47 2019
|
||||
version: 2.2.5
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="redhat" tag="7"
|
||||
- image="centos"
|
||||
- image="redhat"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "bPMYgxeg7GNaRQnvYIeXLf+rVuKC6w8DM5VEAG8tVis+esPrJFY2u8WGUWF5R4xRxNwq5Dn/A7cXPk3RYz9j2BfaGq0QzeN6C4DyJb8LHhL7VVJypOAkcnNpmwlmWYmR5FSJxRA2i8Tmx3kVc82eLZgMNoFgStg2gMQHDHkiNw2bOiPt/HWycXPkpmfjJkg/JTe7yEkLDzO4PyvUwnI7HjZT5RUrSCsZeMiU5uZMi0VgQ41ypgCSoF6X3tlCQP3vyCo9HGN9PQIrIerwrEArUHxiZXycDuBKRlyDj85hQdZzNTz7xzQ8IA58wcFrN/o9/LEv5T7W+iSlx4c4rZjHRZ1yqjBTPmXIDCHnVFObGkSkfXYjyYgjc9fRGYLjorTJqk7mVL5U/AVd+rrhFtcnuKI1o0c8rvK/gOPvr6dLYkRVxGhethcHOrIQAV1KSt1HaFyUKqL89t5448gMKHEH4Q+bTjVxyR9Y50WBIvSRgvxmzsXfepnXmoxETlcDo0Yk/rgCn4M2LI1AzW/xY3nlEwbG4SRFLDSWkXPh6Hxq6ftGnf9ZdfMv4lXuSYxPgwvMNjb7GUKkAMU61fay5OdPbU6qnhDjqV+tKOGYvbyOlso+bf8FoyD+tl8eyl2yQtCcpjbdLfYaDtj/ETweS3VKdrDNJ6Eu/l2gGhw44CPkcEE="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:52 2019
|
||||
version: 3.1.3
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
---
|
||||
# tasks file for common
|
||||
- name: install requirements
|
||||
package:
|
||||
name: "{{ common_requirements }}"
|
||||
state: present
|
||||
register: common_install_requirements
|
||||
until: common_install_requirements is succeeded
|
||||
retries: 3
|
||||
|
||||
- name: check for network manager
|
||||
stat:
|
||||
path: /etc/NetworkManager/NetworkManager.conf
|
||||
register: common_check_for_network_manager
|
||||
|
||||
- name: set nameserver in resolv.conf
|
||||
lineinfile:
|
||||
path: /etc/resolv.conf
|
||||
line: "nameserver {{ item }}"
|
||||
with_items:
|
||||
- "{{ common_nameservers }}"
|
||||
when:
|
||||
- common_nameservers is defined
|
||||
- not common_check_for_network_manager.stat.exists
|
||||
- ansible_virtualization_type != "docker"
|
||||
notify:
|
||||
- gather facts
|
||||
|
||||
- name: set nameservers in network manager
|
||||
ini_file:
|
||||
path: /etc/NetworkManager/conf.d/dnsservers.conf
|
||||
section: global-dns-domain-*
|
||||
option: servers
|
||||
value: "{{ common_nameservers | join(',') }}"
|
||||
when:
|
||||
- common_check_for_network_manager.stat.exists
|
||||
notify:
|
||||
- reload network manager
|
||||
- gather facts
|
||||
|
||||
- name: flush handlers
|
||||
meta: flush_handlers
|
||||
|
||||
- name: set hostname
|
||||
hostname:
|
||||
name: "{{ common_hostname }}"
|
||||
when:
|
||||
- ansible_virtualization_type != "docker"
|
||||
register: set_hostname
|
||||
|
||||
- name: reboot for hostname
|
||||
include_role:
|
||||
name: robertdebock.reboot
|
||||
when:
|
||||
- set_hostname.changed
|
||||
- common_reboot | bool
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: fill /etc/hosts
|
||||
template:
|
||||
src: hosts.j2
|
||||
dest: /etc/hosts
|
||||
when:
|
||||
- ansible_virtualization_type != "docker"
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="centos"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "meoPGg3WUicE47IA6gfiVlEzuaN/bBoHQ6UNRUjtttvXLWyAHEPHq40NgWxy0iSQ9i6gNVcvzmSFh28aG/27PAeODpsbmePQ8dP+Zn4C4YJJzCEOldZwN79kGfq5VfHUtGcQsegJKPVFbT3bjgLp9Rug8g9ogqT97NwNO1BDcP/ark2TwsWs124tfQWiDDnnzbOZD4kHedOpUC8C1sAwvXFgVWwMk7FDRBUKrCU8xlwKtDCnhxbVeTKp57p1ZEMaQ+BSYZOTzXAbb8csmRQG5nGp+YdBFpSjPDRC9SzYU51dkcTffGfzy155UkVcPhi5KBVXqMM0WFPmmEGwEnL7+pJMGGNePQZlpBK3z+akA4/Vj69PLFQnnhDtGD0FQywYU0b0LnFDWAnkR9oNyWdItHLF/s1VwvearTpZLF35MCiQUeFVL8ZfKpkV3RszZKiywn8PKLc6YmO76Hk06t5CJK1Rmt9BCrko2XaK1LkgRtNx6B2SGF3NrN6t26SHvyHImInE/paq9F4jOmLeBUh96uSoRIzWshd2S5VskB7h25xACNkjXOAwzxuBRTEnVcLJpgOKhvxuCvepQ6D7LsyB3axB6UnHcCD9WCFdeh5ZRVzyqeWxE9Ac9e9+tMghzUohkZD9IRQDPUyUBb82/X9zZeTq55h2h0oFKYebugZPjT4="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# defaults file for docker
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
# handlers file for docker
|
||||
- name: change owner for docker socket
|
||||
file:
|
||||
path: /var/run/docker.sock
|
||||
group: docker
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:44:57 2019
|
||||
version: 2.3.2
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
- name: Prepare
|
||||
hosts: all
|
||||
gather_facts: no
|
||||
become: yes
|
||||
|
||||
roles:
|
||||
- robertdebock.bootstrap
|
||||
- robertdebock.core_dependencies
|
||||
- robertdebock.buildtools
|
||||
- robertdebock.epel
|
||||
- robertdebock.python_pip
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
- image="centos" tag="7"
|
||||
- image="redhat" tag="7"
|
||||
- image="centos"
|
||||
- image="redhat"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "UCtHXxGlko9yhbPzIlhDNINhnYk1bUCkTyQzHNN/toT37uzzTQGsQksb8AOxS5C3LhkgTcMucM68rlM4yaaDize92ppWOfpePnqasRSLRPnI9HpHF5toJbnEZUA/1L2SBn1oHzrFBpoFiizTSt35yuo2uYIc8SSYphksiywtyW47+SErzZB0A+UvQvHSOj1LRqh5KYe1vcR028V8MabwIV0Pt4IccvPBrKbWjZZgyoYJbwhj+H7dXZ3u5Y7dmoLfcpJFPv44iz4o4zg2NRx7yYuVRyhaNOeikScKyjFXL4t+3RyqEfuWHTg5ffwvxIY2gG7fotj5aplxMlc04FASHLYlQwDKRRXb7pkb0fiK6h9CiB2V8iIXUYhj15lDitTJe1MZu2WUTxA/hGK81aI6IwRCPF1nAphS0UcVfi+EyNIO463aW9vW6t53FIdQ5O4MQuH/YkSmP2y/YX3qoAB9mlcglYOWWgoEFvDpJezRouzOA0wGBhKFRtMg8NZnsTU8CMPsjsRRNDb4Y2mcymkzpKT7ljmKyav+EK9Ko9Mizh5CCIMClsxZ4Hg/1bWn+R4y7T7qlzboGonZ2USw6s/sa/bQ69eAw4JC2IIL7EqadBwTeALUBWd1tY0gvuFPLJIG+LX+XRvne85nYC1m7ioUeGsFrjDrodNuMeyxwiEjfYo="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
# defaults file for epel
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:45:01 2019
|
||||
version: 2.3.3
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: yes
|
||||
gather_facts: yes
|
||||
|
||||
roles:
|
||||
- ansible-role-epel
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
# tasks file for epel
|
||||
- name: install epel-release
|
||||
package:
|
||||
name: "{{ epel_url }}"
|
||||
state: present
|
||||
when:
|
||||
- ansible_distribution in [ "CentOS", "RedHat", "Amazon" ]
|
||||
register: epel_install_epel_release
|
||||
until: epel_install_epel_release is succeeded
|
||||
retries: 3
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
exclude_paths:
|
||||
- ./meta/exception.yml
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="centos"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "mYOHaSRDBSnw58PRnQB3JPf92saah4d9c6p0zLKWj7SOzc8uOqxbrXTaoHUouoNIVbZuNl64zruYWBZSUCk3ReBFcRWTU+qi0OuQU1ifTeBIH/eM50saQYgjEdMFeN1FYbgI75x2aDJ0go+2qU3kZFvdwDh7xs1McBf2MNKo8Xlwe20jPy8jUyBlp66+DOFJ+W7EGbGkgvUzW5YWlAaL9ItHrDoaup++dBc1RlHDidz/cvfaMzw9XeXTjATOYm9/VhQsHOa9sVKWVe102E6M+uphoel1gjdHSPYLvno85DiK08kJPIvRu+3hvbkWAJKu6H1ILp2g3uF13jZpibTIIaSbXLUCXa2gYi252pUs4+blwuRy7onS67HLiUqG9aufKhcFxgeCvpcn/Au1pMnhLKVG3M9yWe3FxiAzjgfU0rSz/tHhwEr3m1MwylA+k3gfir3uDS6JsFlkAy/6aNRYDoL693yPB/Y1cNHdJTQf5VJ0kcwx/5FGz+1MdxzW2Mw8uTQJa42c1dDOeL6YgkPDbbgCvRP3mh+rHAGn8SGp6O9QzSwTdMwnNMw087N+3Onw1rDsnYVX3KS/j7oqS0TABiPF8SCze8cgW6X1V+5hFD+5H8dhcE05naQicU6Abr+pyA++c5q5AKtg2tbenMAZB+9tkPfF1C+q12HasnNGMl8="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:45:06 2019
|
||||
version: 2.1.1
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
exceptions:
|
||||
- variation: alpine
|
||||
reason: "Service `fail2ban' needs non existent service `logger'"
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: yes
|
||||
gather_facts: yes
|
||||
|
||||
roles:
|
||||
- ansible-role-fail2ban
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**Playbook**
|
||||
Please paste the playbook you are using. (Consider `requirements.yml` and
|
||||
optionally the command you've invoked.)
|
||||
|
||||
|
||||
```yaml
|
||||
YOUR PLAYBOOK HERE
|
||||
```
|
||||
|
||||
**Output**
|
||||
Show at least the error, possible related output, maybe just all the output.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Environment**
|
||||
- Control node OS: [e.g. Debian 9] (`cat /etc/os-release`)
|
||||
- Control node Ansible version: [e.g. 2.9.1] (`ansible --version`)
|
||||
- Managed node OS: [e.g. CentOS 7] (`cat /etc/os-release`)
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
#
|
||||
# Ansible managed
|
||||
#
|
||||
language: python
|
||||
|
||||
python:
|
||||
- "3.7"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
global:
|
||||
namespace="robertdebock"
|
||||
matrix:
|
||||
- image="amazonlinux" tag="1"
|
||||
- image="amazonlinux"
|
||||
- image="alpine"
|
||||
- image="alpine" tag="edge"
|
||||
# - namespace="archlinux" image="base"
|
||||
- image="debian" tag="unstable"
|
||||
- image="debian"
|
||||
- image="centos" tag="7"
|
||||
- image="redhat" tag="7"
|
||||
- image="centos"
|
||||
- image="redhat"
|
||||
- image="fedora"
|
||||
- image="fedora" tag="rawhide"
|
||||
- image="opensuse"
|
||||
- image="ubuntu"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- env: image="alpine" tag="edge"
|
||||
- env: image="debian" tag="unstable"
|
||||
- env: image="fedora" tag="rawhide"
|
||||
|
||||
cache:
|
||||
- pip
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
- pip install tox
|
||||
|
||||
script:
|
||||
- tox --parallel all
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "ZGQaRaplYeFs9BKaNBLpIQocM8GTRjXS9lyFZzdWHacdamjnEyGko8G2HUSfMB/1mjE84z/+TWdPYHFXhYQZzqPv92uRuoE++zisYyiSE8viYnbrLnUoI5HCBWmkKJHrfDgg3hnLVeErvYDG870mz6WyQVIf0UNuTcnS/+lU6JonRFwdp1s8J4At30X3wK9ZGpCtXaWSloFmr0Y2WO7FUBuhdNIhB98j43m8ymLrQAe4Yg085bGUnw112g/uLQ9+NLrZtKSazF8/RpXDKG7WrnAlwHWrlKerePcEywM6Abs0vWGgAcR0COO1+SglPjfQtGViYonDMGITq6S96h1G0cONVVd6x8ykbE29WY0zknsfswcXnQ9mw05Y9woWtt6Et8OYYi1ygQBzD7ClSCzvyja05zVoQOIPojWeYR2uDmTbcxjDM6FKLE75bQYBav2s6+KyqQHl9txNH5m9Xf+3sj6PuNMEmJHdhMiduObMp9ILS3cFgU/kKVbxipXy6r7/az5q+DI7+nAETXNVTKOR13hOH6X0QJ7cYeZgz+bA2pwGMW+cIkHl6UaHvceOcNJskccyBtu5/HOeIrDa1CYuZgOIGWpVh49dhI65s4HRoUXBGwUv+kEjbQ97r9qM6Ixd7ZpSWDjUooJjigvczsL/Qfej1W2UDR+2J79SoTjLs34="
|
||||
email: false
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
# Please contribute
|
||||
|
||||
You can really make a difference by:
|
||||
|
||||
- [Making an issue](https://help.github.com/articles/creating-an-issue/). A well described issue helps a lot. (Have a look at the [known issues](https://github.com/search?q=user%3Arobertdebock+is%3Aissue+state%3Aopen).)
|
||||
- [Making a pull request](https://services.github.com/on-demand/github-cli/open-pull-request-github) when you see the error in code.
|
||||
|
||||
I'll try to help and take every contribution seriously.
|
||||
|
||||
It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.
|
||||
|
||||
## Step by step
|
||||
|
||||
Here is how you can help, a lot of steps are related to GitHub, not specifically my roles.
|
||||
|
||||
### 1. Make an issue.
|
||||
|
||||
When you spot an issue, [create an issue](https://github.com/robertdebock/git/issues).
|
||||
|
||||
Making the issue help me and others to find similar problems in the future.
|
||||
|
||||
### 2. Fork the project.
|
||||
|
||||
On the top right side of [the repository on GitHub](https://github.com/robertdebock/git), click `fork`. This copies everything to your GitHub namespace.
|
||||
|
||||
### 3. Make the changes
|
||||
|
||||
In you own GitHub namespace, make the required changes.
|
||||
|
||||
I typically do that by cloning the repository (in your namespace) locally:
|
||||
|
||||
```
|
||||
git clone git@github.com:YOURNAMESPACE/git.git
|
||||
```
|
||||
|
||||
Now you can start to edit on your laptop.
|
||||
|
||||
### 4. Optionally: test your changes
|
||||
|
||||
Install [molecule](https://molecule.readthedocs.io/en/stable/) and [Tox](https://tox.readthedocs.io/):
|
||||
|
||||
```
|
||||
pip install molecule tox
|
||||
```
|
||||
|
||||
And run `molecule test`. If you want to test a specific distribution, set `image` and optionally `tag`:
|
||||
|
||||
```
|
||||
image=centos tag=7 molecule test
|
||||
```
|
||||
|
||||
Once it start to work, you can test multiple version of Ansible:
|
||||
|
||||
```
|
||||
image=centos tag=7 tox
|
||||
```
|
||||
|
||||
### 6. Optionally: Regenerate all dynamic content
|
||||
|
||||
You can use [Ansible Generator](https://github.com/robertdebock/ansible-generator) to regenerate all dynamic content.
|
||||
|
||||
If you don't do it, I'll do it later for you.
|
||||
|
||||
### 7. Make a pull request
|
||||
|
||||
[GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) on pull requests.
|
||||
|
||||
In the comment-box, you can [refer to the issue number](https://help.github.com/en/github/writing-on-github/autolinked-references-and-urls) by using #123, where 123 is the issue number.
|
||||
|
||||
### 8. Wait
|
||||
|
||||
Now I'll get a message that you've added some code. Thank you, really.
|
||||
|
||||
CI starts to test your changes. You can follow the progress on Travis.
|
||||
|
|
@ -1,202 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2019 Robert de Bock (robert@meinit.nl)
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
install_date: Mon Dec 16 06:45:11 2019
|
||||
version: 3.1.3
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
[tox]
|
||||
minversion = 3.7
|
||||
envlist = py{37}-ansible-{previous,current,next}
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
previous: ansible>=2.8, <2.9
|
||||
current: ansible>=2.9
|
||||
next: git+https://github.com/ansible/ansible.git@devel
|
||||
docker
|
||||
molecule
|
||||
commands =
|
||||
molecule test
|
||||
setenv =
|
||||
TOX_ENVNAME={envname}
|
||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||
|
||||
passenv = namespace image tag
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#
|
||||
# Ansible managed
|
||||
#
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue