@@ -8,11 +8,18 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: librespace/ansible
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: ls
|
||||
shell: bash
|
||||
run: |
|
||||
ls
|
||||
|
||||
# - name: ls
|
||||
# run: |
|
||||
# ls
|
||||
# - name: ls
|
||||
# run: |
|
||||
# ls -lah
|
||||
|
||||
@@ -23,11 +30,14 @@ jobs:
|
||||
# sudo apt update
|
||||
# sudo apt install -y ansible
|
||||
|
||||
- name: Docker tests
|
||||
# - name: Docker tests
|
||||
|
||||
run: |
|
||||
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
|
||||
# run: |
|
||||
# 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
|
||||
|
||||
|
||||
# - name: Run Ansible Playboo
|
||||
|
||||
Reference in New Issue
Block a user