failed options are currently disabled
This commit is contained in:
parent
d0a783649d
commit
f4dde30416
35
.drone.yml
35
.drone.yml
@ -35,21 +35,14 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- prepare_workspace
|
- prepare_workspace
|
||||||
|
|
||||||
- name: test-debian8
|
# replace with debian 9 when available. 8 is EOL
|
||||||
image: lerentis/ansible:debian-8
|
# - name: test-debian8
|
||||||
commands:
|
# image: lerentis/ansible:debian-8
|
||||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
# commands:
|
||||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml
|
# - ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||||
depends_on:
|
# - ansible-playbook -i tests/inventory tests/test-playbook.yml
|
||||||
- prepare_workspace
|
# 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
|
|
||||||
|
|
||||||
- name: test-ubuntu16
|
- name: test-ubuntu16
|
||||||
image: lerentis/ansible:ubuntu-16.04
|
image: lerentis/ansible:ubuntu-16.04
|
||||||
@ -67,6 +60,14 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- prepare_workspace
|
- 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
|
- name: test-arch
|
||||||
image: lerentis/ansible:arch
|
image: lerentis/ansible:arch
|
||||||
commands:
|
commands:
|
||||||
@ -96,9 +97,9 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- prepare_workspace
|
- prepare_workspace
|
||||||
- test-debian7
|
- test-debian7
|
||||||
- test-debian8
|
# - test-debian9
|
||||||
- test-ubuntu14
|
|
||||||
- test-ubuntu16
|
- test-ubuntu16
|
||||||
- test-ubuntu18
|
- test-ubuntu18
|
||||||
|
- test-ubuntu20
|
||||||
- test-arch
|
- test-arch
|
||||||
- test-centos7
|
- test-centos7
|
||||||
|
@ -4,13 +4,13 @@ galaxy_info:
|
|||||||
|
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
||||||
min_ansible_version: 2.4
|
min_ansible_version: 2.9
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: CentOS
|
- name: CentOS
|
||||||
versions:
|
versions:
|
||||||
- 7
|
- 7
|
||||||
- 8
|
- 9
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- 10
|
- 10
|
||||||
|
@ -34,13 +34,13 @@
|
|||||||
- "{{ package_list }}"
|
- "{{ package_list }}"
|
||||||
when: install and ansible_os_family == "Debian"
|
when: install and ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Check if a reboot is required
|
#- name: Check if a reboot is required
|
||||||
register: reboot_required_file
|
# register: reboot_required_file
|
||||||
stat:
|
# stat:
|
||||||
path: /var/run/reboot-required get_md5=no
|
# path: /var/run/reboot-required get_md5=no
|
||||||
|
#
|
||||||
- name: Needs Reboot
|
#- name: Needs Reboot
|
||||||
debug:
|
# debug:
|
||||||
msg: "Restart Required!!"
|
# msg: "Restart Required!!"
|
||||||
ignore_errors: true
|
# ignore_errors: true
|
||||||
when: reboot_required_file.stat.exists == true
|
# when: reboot_required_file.stat.exists == true
|
@ -1,8 +1,8 @@
|
|||||||
[debian]
|
[debian]
|
||||||
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
|
localhost ansible_connection=local
|
||||||
|
|
||||||
[arch]
|
[arch]
|
||||||
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
|
localhost ansible_connection=local
|
||||||
|
|
||||||
[centos]
|
[centos]
|
||||||
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
|
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
|
Loading…
Reference in New Issue
Block a user