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_INVENTORY="-i 127.0.0.1, --connection=local"
|
||||
export ANSIBLE_PLAYBOOK="baseos.yml"
|
@ -9,7 +9,7 @@ jobs:
|
||||
Ansible-Development-Pipeline:
|
||||
strategy:
|
||||
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 }}
|
||||
steps:
|
||||
- name: Clone repository
|
||||
@ -17,7 +17,8 @@ jobs:
|
||||
|
||||
- name: Ansible Environment Verify
|
||||
run: |
|
||||
. ./.drone.env
|
||||
whoami
|
||||
. ./.ci.env
|
||||
env
|
||||
git log -1
|
||||
ansible --version
|
||||
@ -29,10 +30,10 @@ jobs:
|
||||
|
||||
- name: Run Ansible-Lint
|
||||
run: |
|
||||
. ./.drone.env
|
||||
. ./.ci.env
|
||||
ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
||||
|
||||
- name: Run Ansible-Playbook
|
||||
run: |
|
||||
. ./.drone.env
|
||||
. ./.ci.env
|
||||
ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||
|
@ -14,6 +14,7 @@ timeout = 30
|
||||
host_key_checking = false
|
||||
display_skipped_hosts = false
|
||||
deprecation_warnings = false
|
||||
force_color = true
|
||||
|
||||
# callback_whitelist is deprecated
|
||||
# we only include here for backwards compatibility
|
||||
|
Loading…
x
Reference in New Issue
Block a user