Skip to content

Workflow file for this run

name: Deploy with Self-Signed SSL Certificate
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Ansible
run: |
python -m pip install --upgrade pip
pip install ansible
pip install requests
- name: Create Ansible Inventory
run: |
echo "[all]" > inventory
echo "localhost ansible_connection=local" >> inventory
- name: Run Ansible Playbook
run: |
ansible-playbook test.ansible.yml -i inventory --extra-vars "domain=localhost"