简体   繁体   中英

How to configure CircleCI with ssh key for Ansible/SSH

I want to execute Ansible in my Circle CI pipeline. Something like this example .

How do I configure my CircleCI Ansible orb to use my IP and private SSH key to login to my worker VM?

That's how you do it

version: 2
jobs:
  deploy-job:
    steps:
      - add_ssh_keys:
          fingerprints:
            - "SO:ME:FIN:G:ER:PR:IN:T"

;) https://circleci.com/docs/2.0/add-ssh-key#adding-ssh-keys-to-a-job

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM