Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
don-lqdn
Commits
4ce6a996
Commit
4ce6a996
authored
Jan 11, 2022
by
nono
Browse files
Ajout de tests sur le rôle
parent
5fd2833e
Changes
6
Hide whitespace changes
Inline
Side-by-side
.yamllint
0 → 100644
View file @
4ce6a996
---
# Based on ansible-lint config
extends: default
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
meta/main.yml
View file @
4ce6a996
galaxy_info
:
author
:
your name
description
:
your role description
company
:
your company (optional)
role_name
:
don
author
:
Nono
description
:
Installation of the donnation website and configuration on a server
company
:
La Quadrature Du Net
namespace
:
lqdn
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
...
...
@@ -27,17 +29,11 @@ galaxy_info:
# To view available platforms and versions (or releases), visit:
# https://galaxy.ansible.com/api/v1/platforms/
#
# platforms:
# - name: Fedora
# versions:
# - all
# - 25
# - name: SomePlatform
# versions:
# - all
# - 1.0
# - 7
# - 99.99
platforms
:
-
name
:
Debian
versions
:
-
bullseye
galaxy_tags
:
[]
# List tags for your role here, one per line. A tag is a keyword that describes
...
...
@@ -47,6 +43,10 @@ galaxy_info:
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies
:
[]
# dependencies:
# - community.mysql
collections
:
-
community.mysql
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.
molecule/default/INSTALL.rst
0 → 100644
View file @
4ce6a996
*********************************
Vagrant driver installation guide
*********************************
Requirements
============
* Vagrant
* Virtualbox, Parallels, VMware Fusion, VMware Workstation or VMware Desktop
Install
=======
Please refer to the `Virtual environment`_ documentation for installation best
practices. If not using a virtual environment, please consider passing the
widely recommended `'--user' flag`_ when invoking ``pip``.
.. _Virtual environment: https://virtualenv.pypa.io/en/latest/
.. _'--user' flag: https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site
.. code-block:: bash
$ pip install 'molecule_vagrant'
molecule/default/converge.yml
0 → 100644
View file @
4ce6a996
---
-
name
:
Converge
hosts
:
all
become
:
true
become_user
:
root
tasks
:
-
name
:
"
Include
don-lqdn"
include_role
:
name
:
"
don-lqdn"
molecule/default/molecule.yml
0 → 100644
View file @
4ce6a996
---
dependency
:
name
:
galaxy
driver
:
name
:
vagrant
provider
:
name
:
virtualbox
platforms
:
-
name
:
instance
box
:
debian/bullseye64
memory
:
512
cpus
:
1
provisioner
:
name
:
ansible
verifier
:
name
:
ansible
molecule/default/verify.yml
0 → 100644
View file @
4ce6a996
---
# This is an example playbook to execute Ansible tests.
-
name
:
Verify
hosts
:
all
gather_facts
:
false
tasks
:
-
name
:
Example assertion
assert
:
that
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment