Skip to content

UCCNetsoc/ansible-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7df3479 · Sep 7, 2021

History

22 Commits
Sep 5, 2021
Sep 6, 2021
Sep 5, 2021
Sep 7, 2021
Sep 6, 2021
Sep 7, 2021
Sep 6, 2021

Repository files navigation

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.

About

GitHub action to deploy NaC using github actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published