Add build and deploy actions. #1

Open
max wants to merge 19 commits from feat/actions into main
2 changed files with 6 additions and 1 deletions
Showing only changes of commit db288c1f06 - Show all commits

View File

@@ -72,3 +72,8 @@ jobs:
- name: Lint Playbooks
run: ansible-lint
working-directory: ./playbooks
- name: Run Playbook
if: ${{ github.ref == 'refs/heads/main' }}
run: ansible-playbook deployment.yml
working-directory: ./playbooks

View File

@@ -1,7 +1,7 @@
- name: Deploy artifact to instance.
hosts: localhost
vars_files:
- ../config/proxy.json
- ../config/ansible.secret.json
- ../secrets/infrastructure.secret.json
vars:
ansible_connection: aws_ssm