This commit is contained in:
@@ -12,15 +12,20 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Ansible
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y ansible
|
||||
# - name: Install Ansible
|
||||
# shell: bash
|
||||
# run: |
|
||||
# sudo apt update
|
||||
# sudo apt install -y ansible
|
||||
|
||||
- name: Docker tests
|
||||
|
||||
- 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
|
||||
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