need to update test images.
continuous-integration/drone/push Build is failing Details

failed options are currently disabled
This commit is contained in:
Tobias Trabelsi 2021-01-30 20:21:27 +01:00
parent d0a783649d
commit f4dde30416
Signed by: lerentis
GPG Key ID: AB673A86224CEB5A
4 changed files with 32 additions and 31 deletions

View File

@ -35,21 +35,14 @@ steps:
depends_on:
- prepare_workspace
- name: test-debian8
image: lerentis/ansible:debian-8
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml
depends_on:
- prepare_workspace
- name: test-ubuntu14
image: lerentis/ansible:ubuntu-14.04
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml
depends_on:
- prepare_workspace
# replace with debian 9 when available. 8 is EOL
# - name: test-debian8
# image: lerentis/ansible:debian-8
# commands:
# - ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
# - ansible-playbook -i tests/inventory tests/test-playbook.yml
# depends_on:
# - prepare_workspace
- name: test-ubuntu16
image: lerentis/ansible:ubuntu-16.04
@ -67,6 +60,14 @@ steps:
depends_on:
- prepare_workspace
- name: test-ubuntu20
image: lerentis/ansible:ubuntu-20.04
commands:
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
- ansible-playbook -i tests/inventory tests/test-playbook.yml
depends_on:
- prepare_workspace
- name: test-arch
image: lerentis/ansible:arch
commands:
@ -96,9 +97,9 @@ steps:
depends_on:
- prepare_workspace
- test-debian7
- test-debian8
- test-ubuntu14
# - test-debian9
- test-ubuntu16
- test-ubuntu18
- test-ubuntu20
- test-arch
- test-centos7

View File

@ -4,13 +4,13 @@ galaxy_info:
license: MIT
min_ansible_version: 2.4
min_ansible_version: 2.9
platforms:
- name: CentOS
versions:
- 7
- 8
- 9
- name: Debian
versions:
- 10

View File

@ -34,13 +34,13 @@
- "{{ package_list }}"
when: install and ansible_os_family == "Debian"
- name: Check if a reboot is required
register: reboot_required_file
stat:
path: /var/run/reboot-required get_md5=no
- name: Needs Reboot
debug:
msg: "Restart Required!!"
ignore_errors: true
when: reboot_required_file.stat.exists == true
#- name: Check if a reboot is required
# register: reboot_required_file
# stat:
# path: /var/run/reboot-required get_md5=no
#
#- name: Needs Reboot
# debug:
# msg: "Restart Required!!"
# ignore_errors: true
# when: reboot_required_file.stat.exists == true

View File

@ -1,8 +1,8 @@
[debian]
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
localhost ansible_connection=local
[arch]
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
localhost ansible_connection=local
[centos]
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2