debops / ansible-pki

Bootstrap and manage internal PKI, Certificate Authorities and OpenSSL/GnuTLS certificates
GNU General Public License v3.0
65 stars 29 forks source link

Default value for ansible_all_ipv*_addresses #73

Closed thiagotalma closed 8 years ago

thiagotalma commented 8 years ago

Prevents error when ansible_all_ipv4_addresses is undefined

ypid commented 8 years ago

@thiagotalma Thanks for the fix :+1:

@drybjed This is used in a few other roles a well:

ag 'ansible_all_ipv' --silent|grep '^debops' | sed 's#/.*##;' | uniq 
debops.dhcpd
debops.nginx
debops.pki
debops.postgresql_server
debops.redis
debops.sks
debops.snmpd
debops.stunnel
debops.tinc
thiagotalma commented 8 years ago

[offtopic] @ypid What version of ack you use? I tried to run your command and gave error: Unknown option: silent [/offtopic]

ypid commented 8 years ago

[offtopic]

@ypid What version of ack you use? I tried to run your command and gave error: Unknown option: silent

Ah, right. I used to use ack but switched to silversearcher-ag. But I have not yet changed my behavior of typing ack (aliased) :wink:

$ apt-cache policy silversearcher-ag
silversearcher-ag:
  Installed: 0.26.0-1
  Candidate: 0.26.0-1
  Version table:
     0.31.0-2 0
         50 http://httpredir.debian.org/debian/ stretch/main amd64 Packages
 *** 0.26.0-1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

[/offtopic]