Skip to content

Instantly share code, notes, and snippets.

View redondos's full-sized avatar

Angelo Olivera redondos

  • MongoDB
  • New York, NY
View GitHub Profile

Keybase proof

I hereby claim:

  • I am redondos on github.
  • I am redondos (https://keybase.io/redondos) on keybase.
  • I have a public key whose fingerprint is A182 F6EC 302B 8491 A563 9B28 259F F209 CDB9 8F72

To claim this, I am signing this object:

- name: add {{ user }} to {{ item }} group
user: name={{ user }} groups={{ item }}
with_items:
- sudo
- admin
- wheel
when: group_contents.stdout.find('{{ item }}') >= 1
root@salt-master:~# salt-cloud --list-images openstack
[INFO ] Configuration file path: /etc/salt/cloud
[INFO ] salt-cloud starting
[ERROR ] Failed to get the output of 'openstack.avail_images()': [Errno 1] _ssl.c:504: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/saltcloud/cloud.py", line 309, in image_list
data[alias][driver] = self.clouds[fun]()
File "/usr/lib/python2.7/dist-packages/saltcloud/libcloudfuncs.py", line 119, in avail_images
images = conn.list_images()
File "/usr/lib/python2.7/dist-packages/libcloud/compute/drivers/openstack.py", line 220, in list_images