Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 802 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 802 Bytes

Ansible playbook runner via SSH Action

The is a github action used to run NaC ansible playbooks.

Example Usage

  deploy:
    needs: [build]
    
    runs-on: ubuntu-latest
    
    steps:
      - name: Ansible playbook runner via SSH Action
        uses: UCCNetsoc/ansible-action@main
        with:
          tags: "tag"
          control_host: ${{ secrets.CONTROL_HOST }}
          control_user: ${{ secrets.CONTROL_USER }}
          control_ssh_key: ${{ secrets.SSH_KEY }}
          directory: ${{ secrets.CONTROL_DIRECTORY }}
          vault_pass: ${{ secrets.VAULT_PASS }}
          port: ${{ secrets.CONTROL_PORT }}

For a full example, see the discord bot.