@@ -8,10 +8,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: librespace/ansible
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
- name: ls
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
ls
|
||||||
|
|
||||||
|
# run: |
|
||||||
|
# ls
|
||||||
# - name: ls
|
# - name: ls
|
||||||
# run: |
|
# run: |
|
||||||
# ls -lah
|
# ls -lah
|
||||||
@@ -23,11 +30,14 @@ jobs:
|
|||||||
# sudo apt update
|
# sudo apt update
|
||||||
# sudo apt install -y ansible
|
# sudo apt install -y ansible
|
||||||
|
|
||||||
- name: Docker tests
|
# - name: Docker tests
|
||||||
|
|
||||||
run: |
|
# run: |
|
||||||
docker pull librespace/ansible
|
# docker pull librespace/ansible
|
||||||
docker run --mount type=bind,source="$(pwd)"/ansible,target=/ansible librespace/ansible ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
# docker run \
|
||||||
|
# --mount type=bind,source="$(pwd)"/ansible,target=/ansible \
|
||||||
|
# librespace/ansible \
|
||||||
|
# ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
||||||
|
|
||||||
|
|
||||||
# - name: Run Ansible Playboo
|
# - name: Run Ansible Playboo
|
||||||
|
|||||||
Reference in New Issue
Block a user