Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
30c5c621c2 | |||
70f3898557 | |||
749eab45e6 | |||
949ed07b6c |
@ -1,4 +1,3 @@
|
|||||||
# export ANSIBLE_LINT_EXCLUSION="--exclude collections/ansible_collections/ansible* --exclude collections/ansible_collections/community* --exclude .gitea"
|
|
||||||
export ANSIBLE_LINT_EXCLUSION="--exclude collections/ansible_collections --exclude .gitea"
|
export ANSIBLE_LINT_EXCLUSION="--exclude collections/ansible_collections --exclude .gitea"
|
||||||
export ANSIBLE_INVENTORY="-i 127.0.0.1, --connection=local"
|
export ANSIBLE_INVENTORY="-i 127.0.0.1, --connection=local"
|
||||||
export ANSIBLE_PLAYBOOK="baseos.yml"
|
export ANSIBLE_PLAYBOOK="baseos.yml"
|
@ -9,7 +9,7 @@ jobs:
|
|||||||
Ansible-Development-Pipeline:
|
Ansible-Development-Pipeline:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ansible-dev-centos9, ansible-dev-fedora39, ansible-dev-debian11, ansible-dev-debian12 ]
|
os: [ ansible-dev-centos9, ansible-dev-fedora39, ansible-dev-debian12 ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
@ -17,7 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Ansible Environment Verify
|
- name: Ansible Environment Verify
|
||||||
run: |
|
run: |
|
||||||
. ./.drone.env
|
whoami
|
||||||
|
. ./.ci.env
|
||||||
env
|
env
|
||||||
git log -1
|
git log -1
|
||||||
ansible --version
|
ansible --version
|
||||||
@ -29,10 +30,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Ansible-Lint
|
- name: Run Ansible-Lint
|
||||||
run: |
|
run: |
|
||||||
. ./.drone.env
|
. ./.ci.env
|
||||||
ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
||||||
|
|
||||||
- name: Run Ansible-Playbook
|
- name: Run Ansible-Playbook
|
||||||
run: |
|
run: |
|
||||||
. ./.drone.env
|
. ./.ci.env
|
||||||
ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
@ -14,6 +14,7 @@ timeout = 30
|
|||||||
host_key_checking = false
|
host_key_checking = false
|
||||||
display_skipped_hosts = false
|
display_skipped_hosts = false
|
||||||
deprecation_warnings = false
|
deprecation_warnings = false
|
||||||
|
force_color = true
|
||||||
|
|
||||||
# callback_whitelist is deprecated
|
# callback_whitelist is deprecated
|
||||||
# we only include here for backwards compatibility
|
# we only include here for backwards compatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user