Created
December 4, 2018 08:32
-
-
Save juffaz/9c2f88db54e06077d0e736ff9c36983d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cobbler01 ansible-backprod]# cat centos7deploy-key.yml | |
--- | |
- hosts: all | |
gather_facts: no | |
remote_user: root | |
# sudo: yes | |
tasks: | |
- name: Set authorized key without validating the TLS/SSL certificates | |
authorized_key: user=devops | |
key=https://github.com/user.keys | |
validate_certs=False | |
- name: Set authorized key without validating the TLS/SSL certificates | |
authorized_key: user=root | |
key=https://github.com/user.keys | |
validate_certs=False | |
[root@cobbler01 ansible-backprod]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment