Commit e3ad8bdd authored by nanahira's avatar nanahira

fix again

parent 20408daa
Pipeline #14134 failed
......@@ -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
......
......@@ -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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment