BaseOS v1.0.21 #2
@ -17,6 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Ansible Environment Verify
|
- name: Ansible Environment Verify
|
||||||
run: |
|
run: |
|
||||||
|
. ./.drone.env
|
||||||
|
env
|
||||||
git log -1
|
git log -1
|
||||||
ansible --version
|
ansible --version
|
||||||
ansible-lint --version
|
ansible-lint --version
|
||||||
@ -27,11 +29,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Ansible-Lint
|
- name: Run Ansible-Lint
|
||||||
run: |
|
run: |
|
||||||
ansible-lint --offline \
|
. ./.drone.env
|
||||||
--exclude collections/ansible_collections/ansible* \
|
ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
||||||
--exclude collections/ansible_collections/community* \
|
|
||||||
--exclude .gitea
|
|
||||||
|
|
||||||
- name: Run Ansible-Playbook
|
- name: Run Ansible-Playbook
|
||||||
run: |
|
run: |
|
||||||
ansible-playbook -v -i 127.0.0.1, --connection=local baseos.yml
|
. ./.drone.env
|
||||||
|
ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user