Skip to content

Jeckel-Lab/circleci-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

circleci-ansible

Light Docker image used to deploy project using ansible on CircleCI

Usage in circle CI configuration file:

version: 2.1
jobs:
    build:
        deploy:
            docker:
                - image: jeckel/circleci-ansible
            steps:
                - add_ssh_keys:
                    fingerprints:
                        # See CircleCi documentation about how to use ssh keys
                        - "my:fi:ng:er:pr:in:t0"
            - checkout
            - run:
                name: Deploy project
                command: |
                    ansible-playbook -i inventories/hosts.yml \
                        playbook-deploy.yml
workflows:
    version: 2
    build:
        jobs:
            - deploy:
                filters:
                    branches:
                        only: master

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published