daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Apr 27th, 2016 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [synology]
  2. 192.168.1.111 ansible_sudo_pass='dfg78G67'
  3.  
  4. [web]
  5. 139.59.xx:8682 server_name=do1 sql_server_id=1 sql_auto_increment_increment=1
  6. 139.59.xx:8682 server_name=do2 sql_server_id=2 sql_auto_increment_increment=2
  7.    
  8. - name: "Add ssh key"
  9.    authorized_key: user=admin key="{{ lookup('file', 'ssh_keys/id_rsa_{{ item.server_name }}.pub') }}"
  10.    with_items: "{{ groups['web'] }}"
  11.    
  12. TASK [synology_init : Add ssh key] **********************
  13. fatal: [192.168.1.111]: FAILED! => {"failed": true, "msg": "'unicode object' has no attribute 'server_name'"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top