BaseOS v1.0.21 #2

Merged
chris merged 35 commits from testing into main 2024-02-28 20:29:05 -05:00
3 changed files with 177 additions and 20 deletions
Showing only changes of commit d7121049ef - Show all commits

3
.drone.env Normal file
View File

@ -0,0 +1,3 @@
export ANSIBLE_LINT_EXCLUSION="--exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea"
export ANSIBLE_INVENTORY="-i 127.0.0.1, --connection=local"
export ANSIBLE_PLAYBOOK="baseos.yml"

View File

@ -3,10 +3,6 @@ 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:
@ -17,6 +13,8 @@ steps:
- name: "ansible_environment_verify"
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
commands:
- . ./.drone.env
- env
- git log -1
- ansible --version
- ansible-lint --version
@ -29,11 +27,13 @@ steps:
- 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
- . ./.drone.env
- ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
- name: "ansible_playbook_execution"
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
commands:
- . ./.drone.env
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
@ -42,10 +42,6 @@ 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:
@ -56,6 +52,8 @@ steps:
- name: "ansible_environment_verify"
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
commands:
- . ./.drone.env
- env
- git log -1
- ansible --version
- ansible-lint --version
@ -68,11 +66,13 @@ steps:
- 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
- . ./.drone.env
- ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
- name: "ansible_playbook_execution"
image: gitea.thezengarden.net/podman/ansible-dev/fedora39:release
commands:
- . ./.drone.env
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
@ -81,10 +81,6 @@ 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:
@ -95,6 +91,8 @@ steps:
- name: "ansible_environment_verify"
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
commands:
- . ./.drone.env
- env
- git log -1
- ansible --version
- ansible-lint --version
@ -107,11 +105,13 @@ steps:
- 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
- . ./.drone.env
- ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
- name: "ansible_playbook_execution"
image: gitea.thezengarden.net/podman/ansible-dev/debian11:release
commands:
- . ./.drone.env
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
@ -120,10 +120,6 @@ 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:
@ -134,6 +130,8 @@ steps:
- name: "ansible_environment_verify"
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
commands:
- . ./.drone.env
- env
- git log -1
- ansible --version
- ansible-lint --version
@ -146,9 +144,11 @@ steps:
- 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
- . ./.drone.env
- ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
- name: "ansible_playbook_execution"
image: gitea.thezengarden.net/podman/ansible-dev/debian12:release
commands:
- . ./.drone.env
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK

154
.drone.yml.bak Normal file
View File

@ -0,0 +1,154 @@
---
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