Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
e3ad8bdd
Commit
e3ad8bdd
authored
Jun 21, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix again
parent
20408daa
Pipeline
#14134
failed
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
.gitlab-ci.yml
.gitlab-ci.yml
+5
-1
handlers/main.yml
handlers/main.yml
+4
-0
tests/inventory.yaml
tests/inventory.yaml
+4
-2
No files found.
.gitlab-ci.yml
View file @
e3ad8bdd
...
...
@@ -9,13 +9,15 @@ variables:
stage
:
test
tags
:
-
linux
vars
:
usingHost
:
common
script
:
-
ansible --version
-
wget -O - --no-check-certificate https://minio.mycard.moe:9000/nanahira/mitogen-0.2.9.tar.gz | tar zxvf -
-
cp tests/ansible.cfg .
-
chmod 700 .
-
ansible-playbook tests/test.yml --syntax-check
-
ansible-playbook tests/test.yml
-
ansible-playbook tests/test.yml
--limit $usingHost
.debian
:
extends
:
.base
...
...
@@ -34,6 +36,8 @@ ubuntu:
centos7
:
extends
:
.base
image
:
centos:7
vars
:
usingHost
:
centos7
before_script
:
-
yum -y install epel-release
-
yum -y install tar wget ansible
...
...
handlers/main.yml
View file @
e3ad8bdd
...
...
@@ -5,18 +5,22 @@
systemd
:
name
:
sshd
state
:
restarted
when
:
not testing
-
name
:
reload_docker
become
:
true
systemd
:
name
:
docker
state
:
reloaded
when
:
not testing
-
name
:
restart_docker
become
:
true
systemd
:
name
:
docker
state
:
restarted
when
:
not testing
-
name
:
restart_logind
become
:
true
systemd
:
name
:
systemd-logind
state
:
restarted
when
:
not testing
tests/inventory.yaml
View file @
e3ad8bdd
...
...
@@ -16,6 +16,8 @@
vm_agents_status
:
present
china_mirror_omf
:
true
testing
:
true
ansible_connection
:
local
hosts
:
localhost
:
ansible_connection
:
local
common
:
centos7
:
ansible_python_interpreter
:
/usr/bin/python
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