.
This commit is contained in:
@@ -20,13 +20,16 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: homesrv/git-runner
|
image: homesrv/git-runner
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: ls
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
ls ${{gitea.workspace}} -lah
|
|
||||||
|
|
||||||
|
- name: Run Ansible Playbook
|
||||||
|
env:
|
||||||
|
#ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||||
|
ANSIBLE_HOST_KEY_CHECKING: False
|
||||||
|
run: |
|
||||||
|
ansible-playbook {{gitea.workspace}}/ansible/site.yml --private-key xxxx -u xxxx
|
||||||
|
|
||||||
|
|
||||||
# - name: Install Ansible
|
# - name: Install Ansible
|
||||||
@@ -45,9 +48,3 @@ jobs:
|
|||||||
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
||||||
|
|
||||||
|
|
||||||
# - name: Run Ansible Playboo
|
|
||||||
# env:
|
|
||||||
# ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
|
||||||
# ANSIBLE_HOST_KEY_CHECKING: False
|
|
||||||
# run: |
|
|
||||||
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
|
||||||
Reference in New Issue
Block a user