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
Show 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:
...
@@ -9,13 +9,15 @@ variables:
stage
:
test
stage
:
test
tags
:
tags
:
-
linux
-
linux
vars
:
usingHost
:
common
script
:
script
:
-
ansible --version
-
ansible --version
-
wget -O - --no-check-certificate https://minio.mycard.moe:9000/nanahira/mitogen-0.2.9.tar.gz | tar zxvf -
-
wget -O - --no-check-certificate https://minio.mycard.moe:9000/nanahira/mitogen-0.2.9.tar.gz | tar zxvf -
-
cp tests/ansible.cfg .
-
cp tests/ansible.cfg .
-
chmod 700 .
-
chmod 700 .
-
ansible-playbook tests/test.yml --syntax-check
-
ansible-playbook tests/test.yml --syntax-check
-
ansible-playbook tests/test.yml
-
ansible-playbook tests/test.yml
--limit $usingHost
.debian
:
.debian
:
extends
:
.base
extends
:
.base
...
@@ -34,6 +36,8 @@ ubuntu:
...
@@ -34,6 +36,8 @@ ubuntu:
centos7
:
centos7
:
extends
:
.base
extends
:
.base
image
:
centos:7
image
:
centos:7
vars
:
usingHost
:
centos7
before_script
:
before_script
:
-
yum -y install epel-release
-
yum -y install epel-release
-
yum -y install tar wget ansible
-
yum -y install tar wget ansible
...
...
handlers/main.yml
View file @
e3ad8bdd
...
@@ -5,18 +5,22 @@
...
@@ -5,18 +5,22 @@
systemd
:
systemd
:
name
:
sshd
name
:
sshd
state
:
restarted
state
:
restarted
when
:
not testing
-
name
:
reload_docker
-
name
:
reload_docker
become
:
true
become
:
true
systemd
:
systemd
:
name
:
docker
name
:
docker
state
:
reloaded
state
:
reloaded
when
:
not testing
-
name
:
restart_docker
-
name
:
restart_docker
become
:
true
become
:
true
systemd
:
systemd
:
name
:
docker
name
:
docker
state
:
restarted
state
:
restarted
when
:
not testing
-
name
:
restart_logind
-
name
:
restart_logind
become
:
true
become
:
true
systemd
:
systemd
:
name
:
systemd-logind
name
:
systemd-logind
state
:
restarted
state
:
restarted
when
:
not testing
tests/inventory.yaml
View file @
e3ad8bdd
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
vm_agents_status
:
present
vm_agents_status
:
present
china_mirror_omf
:
true
china_mirror_omf
:
true
testing
:
true
testing
:
true
hosts
:
localhost
:
ansible_connection
:
local
ansible_connection
:
local
hosts
:
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