Skip to content

UCCNetsoc/ansible-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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