This commit is contained in:
parent
9928159322
commit
5159ec825b
154
.drone.yml.bak
154
.drone.yml.bak
@ -1,154 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: CentOS_9-Ansible-Pipeline
|
|
||||||
|
|
||||||
environment:
|
|
||||||
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
|
||||||
ANSIBLE_PLAYBOOK : baseos.yml
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- main
|
|
||||||
event: [push]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "ansible_environment_verify"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
|
||||||
commands:
|
|
||||||
- git log -1
|
|
||||||
- ansible --version
|
|
||||||
- ansible-lint --version
|
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
|
||||||
commands:
|
|
||||||
- ansible-galaxy install -r requirements.yml
|
|
||||||
|
|
||||||
- name: "ansible_lint"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
|
||||||
commands:
|
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea
|
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
|
||||||
commands:
|
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: Fedora_39-Ansible-Pipeline
|
|
||||||
|
|
||||||
environment:
|
|
||||||
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
|
||||||
ANSIBLE_PLAYBOOK : baseos.yml
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- main
|
|
||||||
event: [push]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "ansible_environment_verify"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
|
||||||
commands:
|
|
||||||
- git log -1
|
|
||||||
- ansible --version
|
|
||||||
- ansible-lint --version
|
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
|
||||||
commands:
|
|
||||||
- ansible-galaxy install -r requirements.yml
|
|
||||||
|
|
||||||
- name: "ansible_lint"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
|
||||||
commands:
|
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea
|
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
|
|
||||||
commands:
|
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: Debian_11-Ansible-Pipeline
|
|
||||||
|
|
||||||
environment:
|
|
||||||
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
|
||||||
ANSIBLE_PLAYBOOK : baseos.yml
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- main
|
|
||||||
event: [push]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "ansible_environment_verify"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
|
||||||
commands:
|
|
||||||
- git log -1
|
|
||||||
- ansible --version
|
|
||||||
- ansible-lint --version
|
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
|
||||||
commands:
|
|
||||||
- ansible-galaxy install -r requirements.yml
|
|
||||||
|
|
||||||
- name: "ansible_lint"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
|
||||||
commands:
|
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea
|
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
|
|
||||||
commands:
|
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: Debian_12-Ansible-Pipeline
|
|
||||||
|
|
||||||
environment:
|
|
||||||
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
|
|
||||||
ANSIBLE_PLAYBOOK : baseos.yml
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- main
|
|
||||||
event: [push]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "ansible_environment_verify"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
|
||||||
commands:
|
|
||||||
- git log -1
|
|
||||||
- ansible --version
|
|
||||||
- ansible-lint --version
|
|
||||||
|
|
||||||
- name: "ansible_galaxy_requirements"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
|
||||||
commands:
|
|
||||||
- ansible-galaxy install -r requirements.yml
|
|
||||||
|
|
||||||
- name: "ansible_lint"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
|
||||||
commands:
|
|
||||||
- ansible-lint --offline --exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea
|
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
|
|
||||||
commands:
|
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
|
@ -6,7 +6,7 @@ collections:
|
|||||||
type: git
|
type: git
|
||||||
version: testing
|
version: testing
|
||||||
|
|
||||||
# External Collections
|
# Galaxy Collections
|
||||||
- name: community.general
|
- name: community.general
|
||||||
- name: ansible.posix
|
- name: ansible.posix
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user