Skip to content

blackstar257/ansible-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: deploy

Ansible Role Build Status

Installs deployment private ssh key for GitHub on RHEL/CentOS or Debian/Ubuntu servers for the duration of the playbook. There is a handler to remove once finished.

Requirements

None

Role Variables

This needs to be a base64 encoded string of your private ssh key.

ssh_private_key: Y29uZ3JhdHMgeW91IGRlY29kZWQgdGhpcyB0ZXh0IGhlcmVzIGEgY29va2llCg==

Dependencies

None.

Example Playbook

- hosts: servers
  become: yes
  vars:
    ssh_private_key: Y29uZ3JhdHMgeW91IGRlY29kZWQgdGhpcyB0ZXh0IGhlcmVzIGEgY29va2llCg==
  roles:
    - blackstar257.deploy

License

MIT

Author Information

blackstar257