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
Reimar Unger
package.www
Commits
128c4253
Commit
128c4253
authored
Jun 01, 2021
by
Pietsch, Martin
Browse files
added molecule tests
parent
d2c5d64e
Changes
5
Hide whitespace changes
Inline
Side-by-side
molecule/default/INSTALL.rst
0 → 100644
View file @
128c4253
*********************************
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 @
128c4253
---
-
name
:
Converge
hosts
:
all
tasks
:
-
name
:
"
test
install
package.www"
sdm.oor.call_role
:
name
:
"
package.www"
-
name
:
"
test
configure
package.www"
sdm.oor.call_role
:
name
:
"
package.www"
tasks
:
"
configure"
molecule/default/molecule.yml
0 → 100644
View file @
128c4253
---
dependency
:
name
:
galaxy
enabled
:
False
driver
:
name
:
podman
platforms
:
-
name
:
instance
image
:
docker.io/alpine:latest
command
:
"
/sbin/init"
pre_build_image
:
yes
provisioner
:
name
:
ansible
config_options
:
defaults
:
callback_whitelist
:
sdm.oor.sdmoor
stdout_callback
:
sdm.oor.sdmdefault
strategy
:
sdm.oor.sdmlinear
vars_plugins_enabled
:
sdm.common.sdm_host_group_vars
deprecation_warnings
:
False
remote_tmp
:
/tmp
playbooks
:
create
:
create.yml
converge
:
converge.yml
destroy
:
destroy.yml
prepare
:
prepare.yml
verifier
:
name
:
ansible
lint
:
|
set -e
yamllint .
ansible-lint -x sdm.oor.call_tasks .
molecule/default/prepare.yml
0 → 100644
View file @
128c4253
---
-
name
:
Prepare
hosts
:
all
gather_facts
:
False
tasks
:
-
name
:
install python"
raw
:
apk add python3
molecule/default/verify.yml
0 → 100644
View file @
128c4253
---
# 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
Supports
Markdown
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