Skip to content

Commit

Permalink
Try to fix ansible config
Browse files Browse the repository at this point in the history
  • Loading branch information
giade committed Mar 14, 2024
1 parent 3a104b8 commit e5ec423
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,20 @@ jobs:
playbook: deploy.yml
# Optional, directory where playbooks live
directory: ./ansible
inventory: |
[staging]
165.227.139.136
# Optional, ansible configuration file content (ansible.cfg)
configuration: |
[defaults]
callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer
stdout_callback = yaml
nocows = false
host_key_checking = True
log_path = /var/log/ansible.log
force_color = True
inventory = hosts
[ssh_connection]
ssh_args = -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o [email protected],[email protected],ssh-ed25519,ssh-rsa
retries = 1
# Optional, SSH private key
key: ${{secrets.SSH_PRIVATE_KEY}}
# Optional, additional flags to pass to ansible-playbook
Expand Down

0 comments on commit e5ec423

Please sign in to comment.