This commit is contained in:
@@ -12,15 +12,20 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Ansible
|
# - name: Install Ansible
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
sudo apt update
|
# sudo apt update
|
||||||
sudo apt install -y ansible
|
# sudo apt install -y ansible
|
||||||
|
|
||||||
|
- name: Docker tests
|
||||||
|
|
||||||
- name: Run Ansible Playbook
|
|
||||||
env:
|
|
||||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
|
||||||
ANSIBLE_HOST_KEY_CHECKING: False
|
|
||||||
run: |
|
run: |
|
||||||
ansible-playbook ansible/site.yml --private-key xxxx -u xxxx
|
docker container list
|
||||||
|
|
||||||
|
# - name: Run Ansible Playbook
|
||||||
|
# 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