Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ics-ans-gpn-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ics-ansible-galaxy
ics-ans-gpn-config
Commits
ce76a584
Commit
ce76a584
authored
5 years ago
by
Benjamin Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Fix tests
- add lab_route_test variable required for testing - fix sudo test (strip needed)
parent
7f892e2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#31892
passed
5 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
molecule/default/molecule.yml
+5
-1
5 additions, 1 deletion
molecule/default/molecule.yml
molecule/default/tests/test_default.py
+1
-1
1 addition, 1 deletion
molecule/default/tests/test_default.py
with
6 additions
and
2 deletions
molecule/default/molecule.yml
+
5
−
1
View file @
ce76a584
...
...
@@ -11,6 +11,10 @@ provisioner:
name
:
ansible-lint
playbooks
:
converge
:
../../playbook.yml
inventory
:
host_vars
:
ics-ans-gpn-config-default
:
lab_route_test
:
true
scenario
:
name
:
default
verifier
:
...
...
@@ -24,7 +28,7 @@ driver:
platforms
:
-
name
:
ics-ans-gpn-config-default
box
:
centos/7
memory
:
512
memory
:
2048
cpus
:
1
instance_raw_config_args
:
-
"
vbguest.auto_update
=
false"
...
...
This diff is collapsed.
Click to expand it.
molecule/default/tests/test_default.py
+
1
−
1
View file @
ce76a584
...
...
@@ -22,7 +22,7 @@ def test_route_exist(host):
def
test_sudoers_files
(
host
):
with
host
.
sudo
():
assert
host
.
file
(
"
/etc/sudoers.d/csi
"
).
content_string
==
"
csi ALL=(ALL) NOPASSWD:ALL
"
assert
host
.
file
(
"
/etc/sudoers.d/csi
"
).
content_string
.
strip
()
==
"
csi ALL=(ALL) NOPASSWD:ALL
"
def
test_sudo_with_csi
(
host
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment